Skip to main content

Module footnotes

Module footnotes 

Source
Expand description

Footnote normalization utilities.

Converts bare numeric references in text to GitHub-flavoured Markdown footnote links and normalizes footnote numbering and ordering by orchestrating specialised submodules.

Functionsยง

convert_footnote_definitions
Fold a trailing ordered list into definitions and reorder the block.
convert_footnotes
Convert bare numeric footnote references to Markdown footnote syntax.
convert_inline_footnotes
Rewrite bare numeric references as Markdown footnote references.
renumber_footnote_labels
Rewrite footnote labels to their sequential numbers.