Skip to content

vitepress-plugin-peleMermaid diagrams, rendered at build time

Zero client-side JavaScript. Inline SVG. SSR-ready. Theme-aware.

A diagram, right now ​

This is a plain mermaid fence, compiled during the build and served as inline SVG.

Write a mermaid fenceVitePress buildsPele renders SVGInline HTMLNo mermaid.js shipped

Toggle the color mode in the navbar. The SVG does not re-render — it is themed with CSS variables.

Why not mermaid.js? ​

mermaid.js pluginthis plugin
Client JS~1.6 MB0 bytes
Renderingin the browserat build time
SSR / no-JSdiagram missinginline SVG
Layout shiftafter hydrationnone

Continue with the quick start or browse the diagram gallery.

MIT licensed. Demo runs VitePress 2.0.0-alpha.20.