Citations
Footnotes with hex-code identifiers get renumbered to display indices and lifted into a structured citation dataset on tree.data.citations:
Global aging is accelerating.[^a1b2c3]Healthcare costs are rising.[^d4e5f6]
[^a1b2c3]: 2024. [Population Ageing](https://example.com). Published: 2024-07-11[^d4e5f6]: 2025. [Cost Drivers](https://example.com). Published: 2024-11-22After parseMarkdown(content), the MDAST is mutated in place:
footnoteReferencenodes carrynode.data.citationIndex(the display number, e.g.1,2) andnode.data.citationHex(the original identifier).footnoteDefinitionnodes are removed from the tree.- The full citation dataset (title, URL, source domain, published / updated dates, raw text, parsed flag) lives at
tree.data.citations.orderedfor a Sources-style component to render at the bottom of the article.