Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.27 KB

README.md

File metadata and controls

32 lines (21 loc) · 1.27 KB

jQuery MultiMarkdown Footnotes

This is a fork of Sumeet Jain's jQuery Markdown Footnotes.

View the Demo or see In use for further usage examples.

What's different

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

In use

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;
}

To do

  • Clean up .css file and comment mandatory and user-changeable styles.