jrochkind
jrochkind

Reputation: 23317

ruby markdown processor that does footnotes?

Do any of the maintained decent ruby markdown processors do an extension for footnotes? I know some markdown processors in other languages do (although I'm not sure which ones).

The ruby ones aren't so great at documenting what markdown extensions they might support. (Heck, neither are the ones in other languages).

anyone know?

Upvotes: 2

Views: 182

Answers (1)

Mark Thomas
Mark Thomas

Reputation: 37517

I have used kramdown, and it's my library of choice for markdown. It actually provides a superset of Markdown syntax, borrowing additional functionality from other libraries. For example, the footnote capability was borrowed from PHP Markdown Extra package.

Example syntax:

That's some text with a footnote.[^1]

[^1]: And that's the footnote.

Upvotes: 2

Related Questions