Skip to content
New issue

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

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

Already on GitHub? Sign in 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

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

No branches or pull requests

1 participant