#Mermaid
3 related articles

The Mystery of Vanishing SVG Text: The Font Dependency Trap in Mermaid Rendering Services
Mermaid SVG text appears invisible due to missing server fonts and SVG's font dependency. This article analyzes the rendering contract differences between PNG and SVG and provides fixes: installing fonts in Docker, specifying font stacks, and cross-platform testing.

Pele: The Open-Source Tool That Turns Mermaid Diagrams into Themeable SVGs
Pele is an open-source tool that converts Mermaid diagrams into themeable SVGs, solving the problem of Mermaid's inline styles being hard to adapt to light/dark themes and brand colors. This article covers its core approach, differences from Mermaid's theme mechanism, and use cases.

The Hidden Trap in Mermaid Renderers: Error Messages Are Valid Diagrams Too
A hidden trap in Mermaid renderers: syntax errors are rendered as valid PNGs with 200 OK responses, preventing automated processes from detecting errors. Exploring how to distinguish valid diagrams from seemingly valid errors, and contract design in agent workflows.