beautiful-mermaid
by lukilabs
About
beautiful-mermaid is an ultra-fast, zero-DOM diagram rendering engine built by Craft for the AI era. It instantly transforms Mermaid syntax into stunning SVGs or terminal-friendly ASCII art via synchronous rendering. Written in pure TypeScript, it features an innovative mono-mode derivation system that builds complete themes from just two colors. With full Shiki compatibility and live CSS variable theme switching, it perfectly powers diagrams in AI coding assistants and modern rich interfaces.
Features
- Synchronous rendering with zero layout flash
- Dual SVG and ASCII/Unicode outputs
- Zero DOM dependencies via pure TypeScript
- Two-color derivation mixing system
- Full Shiki compatibility for any VS Code theme
Supported Platforms
webdesktopmobile