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

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

Open
arkhaiel opened this issue Jul 23, 2023 · 1 comment

Comments

@arkhaiel
Copy link
Contributor

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 !

@jennie
Copy link

jennie commented Jul 25, 2023

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

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

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

2 participants