-
-
Notifications
You must be signed in to change notification settings - Fork 375
Closed
Description
using mdast.parse():
mdast.parse("foo[^abc] bar\n\n[^abc]: Baz", {footnotes: true});The "Baz" portion actually is created as a regular definition and the corresponding reference at foo[^abc] is a linkReference.
However, if I add a second word to the definition, that fixes it and footerReference & footerDefinition are created as expected. e.g.
mdast.parse("foo[^abc] bar\n\n[^abc]: Baz baz", {footnotes: true});So it seems like there might be a flaw in the parsing for footnotes that requires a sentence structure.