Open
Description
openedon Aug 1, 2024
I've been trying to add the plugins "remark-math" and "rehype-mathjax" to the MDC configuration but it doesn't work and the "docs" are not clear about that.
It works with the @nuxt/content module, but I need it to work with the MDC module because my markdown is coming from a database, not from the content directory.
What I tried in my nuxt.config.ts file:
mdc: {
remarkPlugins: {
remarkMath: {
src: 'remark-math',
},
},
rehypePlugins: {
rehypeMathjax: {
src: 'rehype-mathjax',
},
},
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels