markdown-footnotes
The official Python-Markdown "footnotes" extension, with additional options.
Matches version 3.4.1 of Python-Markdown.
Installation
Install the package with pip:
pip install markdown-footnotes
Usage
When using the extension, use "footnotes2" as the extension name instead of "footnotes".
import markdown
md = markdown.Markdown(extensions=["footnotes2"])
For all other information, see the official documentation.
Options
Additional options:
USE_LETTERS
: Use letters (a-z) instead of numbers as footnote markers. Defaults toFalse
.SHOW_BACKLINKS
: Enable or disable backlinks from the footnote to the reader's place. Defaults toTrue
.
For all other information, see the official documentation.