Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

When runtime is true @nuxtjs/markdownit-loader option is broken #54

Open
odanado opened this issue Apr 13, 2022 · 0 comments
Open

When runtime is true @nuxtjs/markdownit-loader option is broken #54

odanado opened this issue Apr 13, 2022 · 0 comments

Comments

@odanado
Copy link

odanado commented Apr 13, 2022

Here is delete options.use.

delete options.use

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: #29

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant