Why is the Mermaid block not loading?
Last updated
Was this helpful?
Mermaid is now a native block in GitBook. You don’t need to install or enable an integration to use it.
If your Mermaid diagram isn’t loading, check these common causes:
Syntax errors can stop the native Mermaid block from rendering.
Review your Mermaid code for typos or missing characters.
Compare it with examples in the Mermaid documentation.
Test it in the Mermaid Live Editor if you want to isolate the issue.
The native Mermaid block and a standard code block work differently. Mermaid code won’t render inside a standard code block.
To add a Mermaid block:
Press /.
Select Mermaid diagram.

If you created Mermaid content before native block support, GitBook converts older Mermaid blocks automatically the next time you edit the page.
Last updated
Was this helpful?