Others’ words, and pointers at sources — quotation, citation, cross-reference, and links.
<a>category inline-formatting · eHTML <a> · JATS <ext-link> · content prose → <children>
| 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. |
Produced by: 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.
<bib-entry>category citations-and-references · eHTML <bib-entry> · JATS <ref (containing element-citation or mixed-citation)> · content empty → <children>
| attribute | kind | values / default | notes |
|---|---|---|---|
type |
kwarg | article book chapter thesis proceedings report webpage other |
The bibliography entry type. |
Produced by: canonical <bib-entry>.
<bibliography>category citations-and-references · eHTML <bibliography> · JATS <ref-list> · content empty → <children>
| 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: |
Produced by: canonical <bibliography>.
<blockquote>category block-prose · eHTML <blockquote> · JATS <disp-quote or epigraph> · content structured → <children>
| 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. |
Produced by: canonical <blockquote>.
<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.
<cite>category citations-and-references · eHTML <cite> · JATS <xref ref-type="bibr"> · content prose → <children>
| 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. |
Produced by: 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.
<doi>category metadata · eHTML <doi> · JATS <article-id> · content prose → <children>
No kwargs or boolean flags.
Produced by: 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>category inline-formatting · eHTML <q> · JATS <inline-quote or just text with quotation marks> · content prose → <children>
| attribute | kind | values / default | notes |
|---|---|---|---|
cite |
kwarg | URL of the source being quoted. |
Produced by: 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.
<ref>category citations-and-references · eHTML <ref> · JATS <xref ref-type="..."> · content prose → <children>
| 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. |
Produced by: 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.