You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just found that MDsveX doesn't support the footnotes in #36, so I searched to find a proper plugin as #31 does.
Firstly I searched is:issue footnote in Github: MDsveX and found some issues discussing the footnote issue. I surprisingly noticed a plugin list someone mentioned: Remark: List of Plugins and found the plugin remark-gfm which supports autolink literals, footnotes, strikethrough, tables, tasklists (only footnotes needed here).
Then I tried the plugin but footnotes still remained un-rendered in the built targets. I checked the preview issues (pngwn/MDsveX#236, pngwn/MDsveX#374) in MDsveX repo, which instructed me to patch one legacy plugin remark-footnotes of older version.
If a plugin you want to use isn't working, check the readme of that plugin and it should mention whether or not it is compatible with the recent changes. For example remark-footnotes has this message:
This plugin is affected by the new parser in remark (micromark, see remarkjs/remark#536). Use version 2 while you’re still on remark 12. Use version 3 for remark 13+.
That really works, but still has one issue String10/Hakuba#10: multiple reference to the same footnotes will only generate one back reference from footnotes to the referring locations.
TodosLegacy Issues/Problems to Figure outBlog IssueIssues about this BlogMDsveXA Markdown preprocessor for Svelte
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Just found that MDsveX doesn't support the footnotes in #36, so I searched to find a proper plugin as #31 does.
Firstly I searched
is:issue footnote
in Github: MDsveX and found some issues discussing the footnote issue. I surprisingly noticed a plugin list someone mentioned: Remark: List of Plugins and found the plugin remark-gfm which supports autolink literals, footnotes, strikethrough, tables, tasklists (only footnotes needed here).Then I tried the plugin but footnotes still remained un-rendered in the built targets. I checked the preview issues (pngwn/MDsveX#236, pngwn/MDsveX#374) in MDsveX repo, which instructed me to patch one legacy plugin remark-footnotes of older version.
That really works, but still has one issue String10/Hakuba#10: multiple reference to the same footnotes will only generate one back reference from footnotes to the referring locations.
Beta Was this translation helpful? Give feedback.
All reactions