valeriangalliat / markdown-it-anchor

A markdown-it plugin that adds an `id` attribute to headings and optionally permalinks.
The Unlicense
292 stars 72 forks source link

TypeError: plugin.apply is not a function at MarkdownIt.use #61

Closed jie12366 closed 5 years ago

jie12366 commented 5 years ago

I have the problem when I use it.

nagaozen commented 5 years ago

Could you please explain further your problem? With examples et cetera

jie12366 commented 5 years ago

I had resolve the problem using the following method. image.png I use the es5 syntax.