docus
docus copied to clipboard
[Markdown] Deprecated syntax. Please use options key in order to pass option to remark/rehype plugins.
Hi, I just updated to the latest Docus version and I got this message when npm run dev.
There's absolutely zero context or details.
What should I understand ? What is to be modified ?
Is it from my nuxt.config.ts ? It would be Nuxt Content related ? I don't know ... It's definitely the kind of useless message you get, that won't help you at all.
content: {
markdown: {
remarkPlugins: [
'remark-math'
],
rehypePlugins: [
'rehype-katex'
]
}
}
Thanks !
I'm getting the same thing. Not using Docus, just the Content module. My config looks like:
content: {
markdown: {
remarkPlugins: [
"remark-smartypants",
],
...