Closed ejfox closed 5 years ago
Since there are no unified spec, and commonmark still not defined this extension, there are no plans to change this package. Anyone, interested in oner syntax, can implement it's own plugin. markdown-it allow change almost everything and make you independent on author's opinion.
Right now the syntax for inline footnotes in markdown-it-footnote as follows:
However referencing some other resources markdown parsers, we find that there are a variety of implementations. I first discovered this because I was creating my posts in the markdown editor IA Writer and the footnotes rendered properly in the preview, but not when rendered through markdown-it.
Here are some other implementations I've dug up:
IA writer
Some text with a footnote[^This is the footnote itself.].
MultiMarkdown
Here is another footnote.[^This is the footnote itself]
Pandoc
Here is an inline note.^[Inlines notes are easier to write, since you don't have to pick an identifier and move down to type the note.]
rephrase.net PHP-Markdown
I met Jim [^](My old college roommate) at the station.
Would it be worth it to support all of these implementations? If so, where might someone get started on implementing that?
Thank you!