Req: Make markdown-it plugins installation configurable
Zev23 opened this issue · comments
Since there are many plugins available for markdown-it, can you make it configurable?
Scenario:
Add the plugins by npm install markdown-it-deflist markdown-it-classy --save
and then manually add the plugin names in package.json
or other config file to load.
Example code:
https://github.com/celsomiranda/hexo-renderer-markdown-it/blob/master/lib/renderer.js
This is something we can look into.
Would you like to attempt a PR?
I did consider before request but the currently this is not using "require" to import module so i not confident.
I know "require" will search in parent level if a module is not found in the local level. Not sure about "import".