Closed cvionnet closed 1 year ago
It seems to be related to the transpilation of import statements with CJS compatibility
import *
at least for markdown-it-anchor should return an object, with default
being the plugin, and other props for other exports
Depending on your bundling and transpiling toolchain, it may work with import markdownItanchors from 'markdown-it-anchor'
Thanks, it works by using import markdownItanchors from 'markdown-it-anchor'
When loading the plugin, the following exception raises:
Code used:
The exception comes from "markdown-it/index.js":
Versions tried: