@ascribed/elements 0.3.3-next.24 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRACT.md +1 -3
- package/package.json +1 -2
package/CONTRACT.md
CHANGED
|
@@ -230,7 +230,7 @@ A wrapping widget follows §0's layout for elements that wrap markdown; an empty
|
|
|
230
230
|
|
|
231
231
|
## 7. Glossary terms
|
|
232
232
|
|
|
233
|
-
There's no element for glossary terms. In the site output, an occurrence the glossary links (docs/content/contracts/content-model.md §12) is an ordinary markdown link to the term's
|
|
233
|
+
There's no element for glossary terms. In the site output, an occurrence the glossary links (docs/content/contracts/content-model.md §12), and a link an author writes to a term's heading, is an ordinary markdown link to the term's heading on its glossary page, as a route, with the term's definition as the link title, followed directly by an attribute marker (docs/content/contracts/site-render.md §2.3) that gives the `<a>` a `data-ascribe-term` attribute holding the term's id:
|
|
234
234
|
|
|
235
235
|
```markdown
|
|
236
236
|
[API key](/docs/reference/glossary/#api-key "A secret token that authenticates the Quill agent.")<ascribe-attributes data-ascribe-term="api-key"></ascribe-attributes>
|
|
@@ -240,8 +240,6 @@ There's no element for glossary terms. In the site output, an occurrence the glo
|
|
|
240
240
|
<a href="/docs/reference/glossary/#api-key" title="A secret token that authenticates the Quill agent." data-ascribe-term="api-key">API key</a>
|
|
241
241
|
```
|
|
242
242
|
|
|
243
|
-
Terms without a `link` stay plain text (content-model.md Q7).
|
|
244
|
-
|
|
245
243
|
**Rendering:** a link, which the library's CSS underlines with dots (`a[data-ascribe-term]`). A site restyles it, or shows the definition as a popover, by selecting on the attribute.
|
|
246
244
|
|
|
247
245
|
## 8. `<ascribe-for-agents>`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ascribed/elements",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Ascribe's web component library for the site output.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MPL-2.0",
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "bd4c22cf71d61a205925fb81304dbec66bb400b4",
|
|
40
39
|
"scripts": {
|
|
41
40
|
"build": "tsc -p tsconfig.build.json",
|
|
42
41
|
"typecheck": "tsc --noEmit",
|