-
Notifications
You must be signed in to change notification settings - Fork 57
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
support mermaid #40
Comments
Hey @xu4wang ; I think you can add Mermaid support to your Content Wind website by adding https://github.com/temando/remark-mermaid to @nuxt/content configuration. https://content.nuxtjs.org/api/configuration#markdown Here is a link to the guidelines about adding remark plugins! Hope this can help :) |
@Tahul thanks for you help. Do you mind share me a working nuxt configuration? Below is my version:
I did install
However, when I use mermaid in the markdown file: ```mermaid The graph was not generated, instead it shows the mermaid source in a code block. |
Install instructions from say https://www.npmjs.com/package/remark-mermaid, you should install mermaid.cli too. |
thanks for the reply. are you able to render mermaid diagram? I did install mermaid.cli |
As a software developer, I need to draw sequence diagram everyday. I am wondering is it easy to add mermaid support?
BR,Austin
The text was updated successfully, but these errors were encountered: