nextra icon indicating copy to clipboard operation
nextra copied to clipboard

add new `unstable_mermaid` loader option for replacing '''mermaid code-blocks with `<Mermaid />` (nextra/mermaid) React component

Open dimaMachina opened this issue 3 years ago • 3 comments

In The Guild, we use a lot of rendering mermaid diagrams, but unfortunately, there is no plugin for MDX2 for replacing ```mermaid code blocks so I wrote my own remark plugin and want to share with the community

https://nextra-theme-docs-dl1oz9i5p.vercel.sh/docs/advanced/mermaid

dimaMachina avatar Aug 17 '22 00:08 dimaMachina

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
nextra-theme-docs-dev ✅ Ready (Inspect) Visit Preview Aug 17, 2022 at 0:54AM (UTC)
1 Ignored Deployment
Name Status Preview Updated
nextra ⬜️ Ignored (Inspect) Aug 17, 2022 at 0:54AM (UTC)

vercel[bot] avatar Aug 17 '22 00:08 vercel[bot]

🦋 Changeset detected

Latest commit: dcbc19bb311d8fb35020ed0e898ceafdee3b8983

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Aug 17 '22 00:08 changeset-bot[bot]

I think it will be definitely helpful for the community to publish it as a standalone plugin btw :)

shuding avatar Aug 18 '22 08:08 shuding