docus icon indicating copy to clipboard operation
docus copied to clipboard

[Markdown] Deprecated syntax. Please use options key in order to pass option to remark/rehype plugins.

Open arkhaiel opened this issue 2 years ago • 1 comments

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 !

arkhaiel avatar Jul 23 '23 00:07 arkhaiel

I'm getting the same thing. Not using Docus, just the Content module. My config looks like:

content: {
    markdown: {
      remarkPlugins: [
        "remark-smartypants",
      ],
...

jennie avatar Jul 25 '23 15:07 jennie