| Copyright | © 2018–present Mark Karpov |
|---|---|
| License | BSD 3 clause |
| Maintainer | Mark Karpov <markkarpov92@gmail.com> |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Text.MMark.Extension.Footnotes
Description
An extension to add footnotes to your documents.
Since: 0.1.1.0
Documentation
footnotes :: Extension Source #
The extension performs two transformations:
- It turns links with URIs with
footnotescheme and single path piece consisting of a number into links to footnote references. - It turns block quotes with the
"footnotes"label (see the example below) into a footnote section.
Here goes some text [1](footnote:1). > footnotes 1. Here we have the footnote.
The extension is not fully safe though in the sense that we can't check that a footnote reference refers to an existing footnote and that footnotes have the corresponding references, or that they are present in the document in the right order.