Categories
Uncategorized

Footnotes for Markdown

Guys, CommonMark is lovely but we desperately need footnotes as well. Footnotes are pretty widely supported in offline Markdown applications now.

CommonMark also does not support footnotes (much to the chagrin of Stackoverflow users).

MultiMarkdown is the implementation which supports footnotes. But MultiMarkdown does not support strikethrough with two tildes so I’m not recommending it unconditionally (GitHub do support strikethrough).

Discount(which is what I have enabled in Marked 2) supports both footnotes and strikethrough. Discount is the only Markdown version which has full satisfied me after much testing. You can see the nice list of Markdown extensions, Discount supports at the top of that page, including:

  • footnotes
  • tables
  • multileveled bulleted lists
  • fenced code blocks

You cover all of those except footnotes and one more essential feature: strikethrough.

Ich Schenke Dir
play-sharp-fill

Ich Schenke Dir

Brett Tepstra of nvAlt and Marked 2 fame considers it worth his while to support Discount along with MultiMarkdown so I’m not the only one out there keen on Discount.

marked2-multimarkdown-discountgfm-support
marked2-multimarkdown-discountgfm-support

Clean recommendation: Add the excellent working footnotes function from Discount. Dont touch anything else or make any other changes.

Here’s another block.


According to John MacFarlane’s Babelmark 2, the most robust footnotes implementation is to be found in MultiMarkdown 5.1 and 6 (equally good). A simpler footnotes version passes Pandoc 1.19.2, PHP Markdown Extra 1.2.8, Maruku 0.7.3.beta1, MultiMarkdown 5.1.0 and 6, kramdown 1.2.0.

1 reply on “Footnotes for Markdown”

Leave a Reply

Your email address will not be published. Required fields are marked *