Others’ words, and pointers at sources — quotation, citation, cross-reference, and links.
<a>Semantic role: a. Compiles to eHTML <a>.
Registers:
- Canonical:
<a>
See <a https://example.com/docs | the documentation>.
See the documentation.
The positional URL form — the target is the first argument, the pipe
content is the link text. The most common authoring path. (Markdown
[text](url) is not an enscribe idiom; it renders as literal text.)
<a href=https://example.com | the example site>
<a href=https://example.com target=_blank rel=noopener | external link>
<a href=#section-2 | jump to Section 2>
Internal links use fragment identifiers pointing at element ids.
| attribute | kind | values / default | notes |
|---|---|---|---|
href |
format-word | The link target as the first positional argument: | |
href |
kwarg | The URL or fragment identifier the anchor points to. | |
target |
kwarg | _self _blank _parent _top |
How the link opens. |
rel |
kwarg | Relationship between the current document and the link target. | |
title |
kwarg | Tooltip text shown on hover. |
<bib-entry>Semantic role: bib-entry. Compiles to eHTML <bib-entry>.
Registers:
- Canonical:
<bib-entry>
| attribute | kind | values / default | notes |
|---|---|---|---|
type |
kwarg | article book chapter thesis proceedings report webpage other |
The bibliography entry type. |
<bibliography>Semantic role: bibliography. Compiles to eHTML <bibliography>.
Registers:
- Canonical:
<bibliography>
| attribute | kind | values / default | notes |
|---|---|---|---|
style |
kwarg | author-year numbered footnote custom |
Future — not yet implemented: |
sort |
kwarg | alpha citation-order year none (default alpha) |
Future — not yet implemented: |
type |
kwarg | cited-only full hybrid (default cited-only) |
Future — not yet implemented: |
<blockquote>Semantic role: blockquote. Compiles to eHTML <blockquote>.
Registers:
- Canonical:
<blockquote> - Alias:
<quote>
<quote | A short quotation.>
A short quotation.
The <quote> shorthand expands to <blockquote> at eHTML.
<quote cite=https://example.com/source |
A longer quotation that may contain multiple paragraphs.
The second paragraph of the quotation.
>
A longer quotation that may contain multiple paragraphs.
The second paragraph of the quotation.
<quote type=epigraph |
All happy families are alike; each unhappy family is unhappy in its own way.
>
All happy families are alike; each unhappy family is unhappy in its own way.
<blockquote | Same as `<quote>` but using the explicit eHTML name.>
Same as
<quote>but using the explicit eHTML name.
Authors can also write <blockquote> directly. Both forms produce the same eHTML output.
| attribute | kind | values / default | notes |
|---|---|---|---|
cite |
kwarg | URL of the source being quoted. | |
type |
kwarg | verse dialogue epigraph pullquote other |
Optional classification of the quotation’s role. |
<cite>Semantic role: cite. Compiles to eHTML <cite>.
Registers:
- Canonical:
<cite>
The argument is supported by data <cite goodall2024>.
The argument is supported by data .
A simple citation. The resolver renders the citation according to the document-level style. For author-year style, this becomes “(Goodall 2024)”. For numbered style, “[1]”. The actual rendered text is generated by the citation resolver, not written by the author.
Multiple sources confirm this <cite goodall2024 attenborough2020 darwin1859>.
Multiple sources confirm this .
Multiple citation keys group into one citation marker. The resolver handles the joining (with separators appropriate to the style).
See <cite goodall2024 page=42> for details.
See for details.
A citation with a page locator. The locator renders alongside the citation marker.
See also <cite goodall2024 prefix="cf." page=42-45>.
See also .
Citation with prefix and page range.
A specific work <cite goodall2024 style=footnote>.
A specific work .
Per-citation style override. This citation renders as a footnote marker even if the document-level style is something else.
| attribute | kind | values / default | notes |
|---|---|---|---|
keys |
kwarg | One or more citation keys, supplied as positional arguments. | |
page |
kwarg | Page number or page range for the citation locator. | |
chapter |
kwarg | Chapter reference within the cited work. | |
section |
kwarg | Section reference within the cited work. | |
prefix |
kwarg | Text to appear before the citation. | |
suffix |
kwarg | Text to appear after the citation. | |
style |
kwarg | author-year numbered footnote endnote inline-author-year default (default default) |
Override the document-level citation style for this citation. |
<doi>Semantic role: doi. Compiles to eHTML <doi>.
Registers:
- Canonical:
<doi>
<meta>
<doi | 10.1234/example.2024>
</meta>
Bare DOI as the typical authoring form.
<meta doi="10.5555/test" />
Kwarg-form authoring lifts to the child-tag form at the normalize-to-canonical gate (per the apparatus-tag reconciliation, DESIGN.md §”Apparatus-tag positioning”).
<q>Semantic role: q. Compiles to eHTML <q>.
Registers:
- Canonical:
<q>
She said <q | hello> in passing.
She said hello
in passing.
Browsers automatically render <q> with quotation marks. Authors do not include quotation marks in the content.
The phrase <q cite=https://example.com | to be or not to be> is iconic.
The phrase to be or not to be
is iconic.
| attribute | kind | values / default | notes |
|---|---|---|---|
cite |
kwarg | URL of the source being quoted. |
<ref>Semantic role: ref. Compiles to eHTML <ref>.
Registers:
- Canonical:
<ref>
See <ref @fig:scatter> for details.
See ??ref: fig:scatter?? for details.
Canonical form: @id prefix (@ references; # would declare an id on the <ref> itself). The ref-resolution plugin replaces the <ref> node with a __ref-marker before hast conversion. The handler then renders an <a> element with computed text. Prefix word is lowercase, from the DEFAULT_PREFIXES dictionary keyed by id prefix.
As shown in <ref @eqn:model>.
As shown in ??ref: eqn:model??.
Equation references use the “equation” prefix word by default. Config override: <config ref-prefix-eqn=”Eq.”> changes this to “Eq.”.
<ref @eqn:missing>
Unresolved target renders a visible error anchor.
| attribute | kind | values / default | notes |
|---|---|---|---|
target |
kwarg | The id of the element being referenced. | |
type |
kwarg | auto figure table equation section sub-section note listing theorem other (default auto) |
Author-supplied hint about the intended kind of target. |
format |
kwarg | number name full label-only default (default default) |
Author-supplied formatting hint. |
+link / -link |
flag | default on | Controls whether the rendered ref is a navigable hyperlink. |
+preview / -preview |
flag | default on | Controls the hover preview that attaches to the rendered ref by default. |
+title / -title |
flag | default on | Reserved / unimplemented. |