Obsidian’s Pele library converts Mermaid diagrams to SVG, with a reported compressed size of about 230 KB and no runtime dependencies. The developers say it supports Mermaid 12.1’s built-in diagram types and allows color changes using CSS alone. Compatibility documentation specifies its own layout system, no HTML labels or JavaScript callbacks, and differences from existing themeVariables settings. Size and speed figures are developer claims; identical reproduction of existing diagrams requires separate verification.
Back to Tech
Pele offers lightweight SVG rendering for Mermaid diagrams
Broad syntax support does not imply identical layouts or theme behavior to the existing renderer.