Footnotes

Footnotes use the standard Markdown syntax, including a numbered reference to the footnote in-line.

Footnote Definition Node Specification

Rich footnote content associated with footnote reference

type: string, ("footnoteDefinition")
See also
children: array, ()
See also
identifier: string
See also
label: string, optional
See also
position: object, optional, ()
See also
data: object, optional
See also

Footnote Reference Node Specification

Inline reference to footnote

type: string, ("footnoteReference")
See also
identifier: string
See also
label: string, optional
See also
position: object, optional, ()
See also
data: object, optional
See also

Footnote Node Example

Markup
AST
Render
Here's a simple footnote,[^1] and here's a longer one.[^bignote]

[^1]: This is the first footnote.

[^bignote]: Here's one with multiple paragraphs and code.

    Indent paragraphs to include them in the footnote.

    `{ my code }`

    Add as many paragraphs as you like.