markdownit-module
markdownit-module copied to clipboard
When runtime is true @nuxtjs/markdownit-loader option is broken
Here is delete options.use.
https://github.com/nuxt-community/markdownit-module/blob/d615e56dcc72ad9f4b8b8a443e4970d7637e1d75/src/runtime/plugin.js#L10
This code unintentionally changes the moduleLoader option. https://github.com/nuxt-community/markdownit-module/blob/d615e56dcc/src/module.ts#L22
Specifying runtime: false solves this problem, but $md.render will not be available
minimal reproduction repository: https://github.com/odan-sandbox/nuxt-markdown-it-plugin-sandbox Related: https://github.com/nuxt-community/markdownit-module/issues/29