varia.website/plugins-custom/complex_footnotes/README.md

25 lines
750 B
Markdown
Raw Normal View History

2021-01-19 22:36:20 +01:00
# Complex Footnotes
2021-01-19 22:33:28 +01:00
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 text<sup>1</sup>
2021-01-19 22:36:20 +01:00
1. and here is a footnote ↩
2021-01-19 22:33:28 +01:00
Inspired by Andrew Nacin's [Simple Footnotes WordPress plugin](http://wordpress.org/plugins/simple-footnotes/).
2021-01-19 22:36:20 +01:00
# Requirements
2021-01-19 22:33:28 +01:00
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.