Opaque data held under an id for a consumer to interpret — the data container, bibliography sources, and datasets.
<data>category storage-hosts · eHTML <data> · JATS (no direct JATS counterpart) · content empty → <children>
No kwargs or boolean flags.
Produced by: canonical <data>.
<data>
<library format=bibtex>
@article{goodall2024,
author = {Goodall, Jane},
title = {The Effect of Elephants on Climate},
journal = {Nature},
year = {2024}
}
</library>
</data>
(Rendered preview omitted — <data> / @-references resolve at document scope, not inside a sealed preview.)
A library block in BibTeX format. The library plugin parses this, registers entries in the citation system. The <data> block itself produces no rendered output.
<dataset>category storage-hosts · eHTML <dataset> · JATS (no direct JATS counterpart) · content opaque → <harvested>
| attribute | kind | values / default | notes |
|---|---|---|---|
format |
format-word | csv tsv json other |
The format word — the canonical way to name the payload language (<dataset #id csv>…</dataset>). |
format |
kwarg | csv tsv json other |
Attribute-form equivalent of the format-word positional (<dataset #id format=csv>…</dataset>). |
Produced by: canonical <dataset>.
<data>
<dataset #sales csv>
quarter,revenue
Q1,100
Q2,120
Q3,145
</dataset>
</data>
<table src="@sales" />
(Rendered preview omitted — <data> / @-references resolve at document scope, not inside a sealed preview.)
A CSV dataset is stored once under #sales and a <table src=”@sales” /> pulls it in and renders it as a grid. The dataset itself renders nothing; the consuming element decides how to present the opaque bytes.
<library>category storage-hosts · eHTML <library> · JATS <no direct equivalent (entries lift into ref-list)> · content empty → <parsed entries (registered in citation system)>
| attribute | kind | values / default | notes | |
|---|---|---|---|---|
format |
format-word | bibtex csl-json ris endnote-xml other |
The format word — the canonical way to name the payload language (`<library bibtex | …>`). |
format |
kwarg | bibtex csl-json ris endnote-xml other (default auto) |
Attribute-form equivalent of the format-word positional. | |
src |
kwarg | External source (#133): |
Produced by: canonical <library>.
<library format=bibtex>
@article{goodall2024,
author = {Goodall, Jane},
title = {The Effect of Elephants on Climate},
journal = {Nature},
year = {2024}
}
@book{darwin1859,
author = {Darwin, Charles},
title = {On the Origin of Species},
publisher = {John Murray},
year = {1859}
}
</library>
A BibTeX library block. The parser reads the entries and registers goodall2024 and darwin1859 in the citation registry. Citations elsewhere (e.g., <cite goodall2024>) resolve against these entries. The library block itself produces no rendered output.
<library format=csl-json>
[
{
"id": "goodall2024",
"type": "article-journal",
"author": [{"family": "Goodall", "given": "Jane"}],
"title": "The Effect of Elephants on Climate",
"container-title": "Nature",
"issued": {"date-parts": [[2024]]}
}
]
</library>