Code blocks tagged mermaid now always render as diagrams, no capability probe involved.
What's wrong with this entry?
Fenced 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.
- The rendering option defaults to true instead of to the result of a support check, so diagrams appear unless something deliberately opts out.
- A caller passing
mermaidOn: falsestill disables rendering and leaves the fence as ordinary code. - A matching fence is emitted as a
<pre class="mermaid">block for the diagram renderer to pick up.
<pre class="mermaid">, mermaidOn
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
Region marking can copy a mask instead of only filling it
Both mention rendering
-
v2.1.234
The scrolling list was rebuilt by the React compiler
Both mention rendering
-
v2.1.234
Unselectable terminal regions can now be cleared
Both mention rendering