mirror of
https://github.com/discourse/discourse.git
synced 2025-04-20 04:29:04 +08:00

Instead of using the matched string, this PR uses the actual sliced content from the ProseMirror document range as the content when creating the footnote node.
Discourse footnotes plugin
https://meta.discourse.org/t/discourse-footnote/84533
Official footnotes Discourse plugin
Based off: github.com/markdown-it/markdown-it-footnote