npm i vitepress-plugin-mermaid mermaid -D pnpm pnpm install --shamefully-hoist Setup it up Add wrapper // .vitepress/config.jsimport{withMermaid}from"vitepress-plugin-mermaid";exportdefaultwithMermaid({// your existing vitepress config...mermaid:{//mermaidConfig !theme here works for ligth mode...
vitepress-plugin-mermaid Add mermaid support for Vitepress. It detects any dark theme that are set in body as long as it has dark in the name See thedocs 📕 and acomplex example 😎 Install npm npm i vitepress-plugin-mermaid mermaid -D ...
Add mermaid support for Vitepress. Latest version: 2.1.2, last published: 2 years ago. Start using @alt-point/vitepress-plugin-mermaid in your project by running `npm i @alt-point/vitepress-plugin-mermaid`. There are no other projects in the npm registry