The shipped AsciiDoc configuration includes three footnote inline macros:
footnote:[<text>]
<text>
.
footnoteref:[<id>,<text>]
<id>
and text <text>
.
footnoteref:[<id>]
<id>
.
The footnote text can span multiple lines.
The xhtml11 and html5 backends render footnotes dynamically using JavaScript; html4 outputs do not use JavaScript and leave the footnotes inline; docbook footnotes are processed by the downstream DocBook toolchain.
Example footnotes:
A footnote footnote:[An example footnote.]; a second footnote with a reference ID footnoteref:[note2,Second footnote.]; finally a reference to the second footnote footnoteref:[note2].
Renders:
A footnote [2]; a second footnote with a reference ID [3]; finally a reference to the second footnote [3].