Anton Linevich f15f42c6db PEP8 fixes | 7 gadi atpakaļ | |
---|---|---|
.. | ||
README.md | 10 gadi atpakaļ | |
__init__.py | 10 gadi atpakaļ | |
simple_footnotes.py | 7 gadi atpakaļ | |
test_simple_footnotes.py | 10 gadi atpakaļ |
A Pelican plugin to add footnotes to blog posts.
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
Inspired by Andrew Nacin's Simple Footnotes WordPress plugin.
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.