Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

"Footnotes" is a Jekyll plugin that helps inserts footnote reference and body HTML, with automatic numbering, if desired.

This plugin is necessary if you want footnotes with markup, but Maruku would suffice if you will use plaintext notes exclusively.

Install

cd /root/of/site
mkdir -p _plugins
wget -O _plugins/footnote.rb "https://raw.github.com/beneills/jekyll-footnotes/master/footnotes.rb"

Automatic numbering:

hello{% fn %} world{% fn %}
{% footnotes %}
   {% fnbody %}
      <p>salut</p>
   {% endfnbody %}
   {% fnbody %}
      <em>monde</em>
   {% endfnbody %}
{% endfootnotes %}

Custom numbering:

hello{% fn 3 %} world{% fn 5 %}
{% footnotes %}
   {% fnbody 3 %}
      <p>salut</p>
   {% endfnbody %}
   {% fnbody 5 %}
      <em>monde</em>
   {% endfnbody %}
{% endfootnotes %}

Do not mix custom and automatic numbering (although it will work if you only use custom numbers above the highest automatic one).

Only numeric IDs are allowed currently. Other IDs will work if you modify the HTML snippets below to remove

    We generate valid HTML5

    Ben Eills, 2013

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published

Languages