michelf / php-markdown

Parser for Markdown and Markdown Extra derived from the original Markdown.pl by John Gruber.
http://michelf.ca/projects/php-markdown/
Other
3.42k stars 530 forks source link

Feature request: inline footnotes #354

Open xthezealot opened 3 years ago

xthezealot commented 3 years ago

It would be nice to have inline footnotes, with automatic numbering. For example, in the JS world, the markdown-it-footnote plugin does it.

Syntax

That's some text with a footnote.^[And that's the footnote.]

Instead of the actual:

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

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