Diagrams
Diagrams are fenced code blocks; one registry maps the fence language to a renderer.
In the browser (lazy, only on pages that use them): Mermaid, Vega-Lite, Math.
On the server through Kroki (SVG cached by hash): Kroki covers PlantUML, C4-PlantUML, Graphviz, D2, ERD, Nomnoml, Svgbob and Ditaa.
A broken diagram shows its error and its source, never a blank block: see Diagrams/Errors.