John Mark Schofield 4c24d9711f Fix unicode errors triggered by latest version of html5lib. 8 yıl önce
..
README.md c85ea081c0 Simple Footnotes plugin. Add footnotes to your text by enclosing them in [ref] and [/ref]. 11 yıl önce
__init__.py c85ea081c0 Simple Footnotes plugin. Add footnotes to your text by enclosing them in [ref] and [/ref]. 11 yıl önce
simple_footnotes.py 4c24d9711f Fix unicode errors triggered by latest version of html5lib. 8 yıl önce
test_simple_footnotes.py c85ea081c0 Simple Footnotes plugin. Add footnotes to your text by enclosing them in [ref] and [/ref]. 11 yıl önce

README.md

Simple Footnotes

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

  1. 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.