-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Description
If you add multiple references to one footnote in Markdown like this:
This is a sentence [^fn] with footnote.
This is another sentence [^fn] with footnote.
[^fn]: This is the footnote.
pandoc will create multiple footnotes instead of referencing only one. For example, if converted into Markdown again, one would end up with:
This is a sentence[^1] with footnote.
This is another sentence [^2] with footnote.
[^1]: This is the footnote.
[^2]: This is the footnote.
The same happens when converted to HTML (I didn't try other formats). Obviously, this should not happen but instead it should be one footnote which is just linked to multiple points in the text.
I've tested this locally using version 1.12.3.3 as well as with 1.13.1 at Try pandoc!
samueldodson, elliottslaughter, sebastianst, zeeMonkeez, Wolf-SO and 61 morexplosionmind and exodrifterxplosionmind