Render Mermaid diagrams as SVG or ASCII art using the beautiful-mermaid library.
Ultra-fast rendering with 15 built-in themes and Shiki VS Code theme support.
Use when: (1) Creating diagrams from Mermaid syntax, (2) Rendering flowcharts,
state, sequence, class, or ER diagrams, (3) Generating ASCII diagrams for
terminal/markdown output, (4) Theming diagrams to match VS Code color schemes,
(5) Embedding diagrams in documentation or web UIs. Supports SVG output with
live theme switching and ASCII/Unicode output for plain text contexts.
2026-01-29