{"version":"2.1.239","anchor":"mermaid-diagrams-render-by-default","canonical_anchor":"mermaid-diagrams-render-by-default","heading":"Mermaid diagrams render by default","tier":"use","area":"Rendering","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.239\/e\/mermaid-diagrams-render-by-default","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.239","markdown":"### Mermaid diagrams render by default\n\nCode blocks tagged mermaid now always render as diagrams, no capability probe involved.\n\n**What**\n\nFenced code blocks tagged `mermaid` are turned into rendered diagram blocks wherever Claude Code emits formatted output, such as artifacts and pull request bodies. Rendering used to depend on a runtime probe for diagram support, which could silently leave diagrams as plain code; that probe is gone and the language tag on the fence is now the only condition checked.\n\n**Details**\n\n- The rendering option defaults to true instead of to the result of a support check, so diagrams appear unless something deliberately opts out.\n- A caller passing `mermaidOn: false` still disables rendering and leaves the fence as ordinary code.\n- A matching fence is emitted as a `<pre class=\"mermaid\">` block for the diagram renderer to pick up.\n\n**Evidence**\n\n`<pre class=\"mermaid\">`, `mermaidOn`\n\n- Area: Rendering\n- Names: `mermaid`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 2\/5"}