wilhelmer / markdown-footnotes

The official Python-Markdown "footnotes" extension, with additional options.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 to False.
  • SHOW_BACKLINKS: Enable or disable backlinks from the footnote to the reader's place. Defaults to True.

For all other information, see the official documentation.

About

The official Python-Markdown "footnotes" extension, with additional options.

License:Other


Languages

Language:Python 100.0%