Thank you for the nice package. This isn't an issue, but didn't where else to post it. I wanted to share with those who wanted to do the same as I did and save their time.
I wanted to extend @AlextheYounga implementation of allowing plugins to also handle the plugins' options (not to confuse with markdown-it options).
For me, I wanted to add an option to the markdown-it-anchor that I pass as a plugin to vue-markdown-renderer, and override the default slugify function. So I did the following in the :
Thank you for the nice package. This isn't an issue, but didn't where else to post it. I wanted to share with those who wanted to do the same as I did and save their time.
I wanted to extend @AlextheYounga implementation of allowing plugins to also handle the plugins' options (not to confuse with
markdown-it
options).For me, I wanted to add an option to the
markdown-it-anchor
that I pass as a plugin tovue-markdown-renderer
, and override the default slugify function. So I did the following in the :And then I just pass the
plugins
tovue-markdown-renderer
in the tag as you normally would do.