forked from varia/varia.website
750 B
750 B
Complex Footnotes
A fork of the Simple-Footnotes Pelican plugin that gives you more finegrained styling options.
When writing a post or page, add a footnote like this:
Here's my written text[ref]and here is a footnote[/ref].
This will appear as, roughly:
Here's my written text1
- and here is a footnote ↩
Inspired by Andrew Nacin's Simple Footnotes WordPress plugin.
Requirements
Needs html5lib, so you'll want to pip install html5lib
before running.
Should work with any content format (ReST, Markdown, whatever), because
it looks for the [ref]
and [/ref]
once the conversion to HTML has happened.
Stuart Langridge, http://www.kryogenix.org/, February 2014.