Runtime Mermaid block
This is what the blog does today. The markdown fence reaches the browser, Mermaid parses it, and the diagram is drawn on the client.
This page compares the current runtime Mermaid path with a prerendered SVG version of the same diagram. The goal is simple: make the tradeoff visible before we decide whether to move diagram rendering into the build pipeline.
This is what the blog does today. The markdown fence reaches the browser, Mermaid parses it, and the diagram is drawn on the client.
This version is already rendered ahead of time. The page only has to load an SVG asset, so there is no diagram parsing work left for the reader’s browser.
The bigger win shows up on heavier diagrams. This architecture example is the kind of chart that benefits most from being rendered before the page reaches the browser.
Keep runtime Mermaid for fast iteration while we experiment, but move posts toward build-time SVG output once the authoring format feels stable. This page is the proof-of-concept surface for that transition.