Mermaid diagram works in mermaid.js elsewhere but fails or looks different here
What you are seeing
A mermaid diagram works in mermaid.js elsewhere, but fails or looks different here.
#Why it happens
Diagrams are drawn on the server, not by the mermaid library in your browser. That means syntax that only newer versions of mermaid.js support can fail. Separately, mermaid C4 blocks are quietly converted to PlantUML C4 before they are drawn.
#What to do
Stick to syntax that the version of mermaid used here supports, and expect C4 diagrams to look like PlantUML C4 rather than mermaid C4.
#Settings involved
Setting | What it does |
|---|---|
Global settings → Permissions | Controls who can edit the Global library, which in turn decides who can create Global markdown templates. The same permission covers diagrams, images, calendar and search, because they all share one store. |
#Limits that apply here
Limit | Value | What happens |
|---|---|---|
AI diagram repairs per generation | 3 | When AI generates a document, only the first three diagram blocks are checked and repaired. Anything after that, and any diagram language outside the seven that can be repaired, is left exactly as generated. |
#Related
We configured a self-hosted diagram renderer but markdown diagrams still go through Capable
The self-hosted renderer path is currently disabled by a hard kill switch.
Big document renders inside a small scrolling box with a '⚠️ Large content detected' banner
The document is over 500,000 characters, so the macro switches to a fixed 1200px-high scro
Everything else
The rest of this family.
Found it? Good.
