This is a fork of Sumeet Jain's jQuery Markdown Footnotes.
View the Demo or see In use for further usage examples.
- Sumeet's original appeared to work with PHP Markdown Extra. I have changed it to work with the footnote output of MultiMarkdown.
- I have moved the styling options out of the
.js
file and into a.css
file for easier styling (for me anyway). - It's more mobile friendly. Especially with long footnotes.
Here's an example post from my site. In this example I've hidden footnotes at the bottom of each post, so they're only visible with the popover. I also used Modernizr's .js body class to only hide them when JavaScript is present:
.js div.footnotes {
display: none;
}
- Clean up
.css
file and comment mandatory and user-changeable styles.