We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
...\node_modules\markdown-it\lib\index.js:477 plugin.apply(plugin, args); ^ TypeError: plugin.apply is not a function
Seems like the babel upgrade uses exports.default, which node does not load as a function:
exports.default
$ npm install markdown-it-anchor $ node > require("markdown-it-anchor") { default: { [Function: anchor] defaults: { level: 1, slugify: [Function: slugify], permalink: false, renderPermalink: [Function: renderPermalink], permalinkClass: 'header-anchor', permalinkSymbol: '¶', permalinkBefore: false } } }
Which breaks md.use(require('markdown-it-anchor')).
md.use(require('markdown-it-anchor'))
The text was updated successfully, but these errors were encountered:
9ad551b
Fixed as of 2.3.2, thank you!
Sorry, something went wrong.
It seems that this problem is back again.
No branches or pull requests
Seems like the babel upgrade uses
exports.default
, which node does not load as a function:Which breaks
md.use(require('markdown-it-anchor'))
.The text was updated successfully, but these errors were encountered: