beautiful-mermaid
Installation
SKILL.md
beautiful-mermaid
Render Mermaid diagrams to SVG, PNG, or terminal ASCII through the bm CLI from beautiful-mermaid-cli.
When to use
- The user wants to render a Mermaid diagram (
graph,flowchart,sequenceDiagram,classDiagram,stateDiagram,erDiagram,gantt, …) to an image file. - The user pastes Mermaid source and asks for a rendered visual.
- The user wants ASCII / Unicode box-drawing output for a diagram in the terminal.
- The user asks to render with a specific font, or to know which fonts are available — first call
bm fonts --jsonto enumerate the system, then pass--font <family>(or--font-file <path>) tobm render.
Prerequisites
Confirm the bm binary, fonts, and PNG WASM runtime are usable before rendering programmatically:
bm doctor --json