Blog
Mermaid tutorials & guides
Practical posts on writing Mermaid diagrams — prompting AI assistants, embedding in docs, and getting the syntax right the first time.
-
How to Generate Mermaid Diagrams with ChatGPT and Claude
AI assistants write Mermaid code reliably when you prompt them right. Five prompt patterns, the four mistakes models make most often, and how to fix each one in seconds.
· 7 min read -
How to Add Mermaid Diagrams to a GitHub README
GitHub renders Mermaid natively inside fenced code blocks — no build step, no images, no external service. The exact syntax, dark-mode handling, and fallbacks for places that do not support it.
· 5 min read