Installing the command-line executable
Assuming you have Rust/Cargo installed , run this command in a terminal:
cargo install mdbook-footnote
It will make the mdbook-footnote command available in your PATH if you've allowed the PATH to be modified when installing Rust . cargo uninstall mdbook-footnote uninstalls.
Back to the crate overview .
Readme
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 /> .
Configuration
The markdown boolean flag indicates whether footnotes should be emitted as MarkDown rather than HTML. This is needed
for any non-HTML backend.
Installation
To use, install the tool
cargo install mdbook-footnote
and add it as a preprocessor in book.toml :
[ preprocessor.footnote ]
1 : Or is it?