Pair the built-in FootnoteRef + FootnoteSection components through the renderers prop. Best for long-form / academic writing that needs consistent footnote styling across pages.
markedFootnote() extension parses [^id] references + [^id]: text definitions into linked footnote tokens.FootnoteRef + FootnoteSection give you superscript
reference numerals and a backlink from the definition list.Footnotes let you add references without cluttering the main text.
Here is a statement1 that needs a citation. You can also use named footnotesnote for clarity.
Multiple references2 can appear throughout the document, and they all link to the definitions at the bottom.
When documenting APIs, footnotesapi help explain edge cases without breaking the flow of the main content.
Inline {#snippet footnoteRef} + {#snippet footnoteSection} blocks let one page own its footnote markup — bracketed reference style and a chip-labelled definition list, all in one file.
{#snippet footnoteRef} + {#snippet footnoteSection} keep the bidirectional links but let one page
own its markup.[n] bracketed references and a chip-labelled
definition list — all per-page, no shared component.Footnotes let you add references without cluttering the main text.
Here is a statement[1] that needs a citation. You can also use named footnotes[note] for clarity.
Multiple references[2] can appear throughout the document, and they all link to the definitions at the bottom.
When documenting APIs, footnotes[api] help explain edge cases without breaking the flow of the main content.