A preprocessor for mdbook to support the inclusion of automatically numbered footnotes.
It turns this:
Normal text{{footnote: Or is it?}} in body.
into:
Normal text1 in body.
with the footnotes accumulated at the bottom of the page, following an <hr/>
.
The markdown
boolean flag indicates whether footnotes should be emitted as MarkDown rather than HTML. This is needed
for any non-HTML backend.
To use, install the tool
cargo install mdbook-footnote
and add it as a preprocessor in book.toml
:
[preprocessor.footnote]
1: Or is it?