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
I'm following the instructions in the README and I'm having troubles with this part to enable the auto-create anchors for the H tags.
Markdown({markdownItOptions: {html: true,linkify: true,typographer: true},markdownItSetup(md){// add anchor links to your H[x] tagsmd.use(require('markdown-it-anchor'))}}),
The output of the error is:
2:44:50 AM [vite] Internal server error: Problem encountered during the "parser" stage of the vite-plugin-md transform pipeline:
Dynamic require of "markdown-it-anchor" is not supported
Error: Dynamic require of "markdown-it-anchor" is not supported
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
-
I'm following the instructions in the README and I'm having troubles with this part to enable the auto-create anchors for the H tags.
The output of the error is:
do I need to install anything else?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions