Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.239 ·

Mermaid diagrams render by default

Code blocks tagged mermaid now always render as diagrams, no capability probe involved.

Use it now No documentation found Improvements
JSON All of v2.1.239
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
RenderingArea: what it touches
ImprovementsKind: in v2.1.239,
What probably matters to youSection of the release
What

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.

Details
  • 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: false still 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.
Evidence

<pre class="mermaid">, mermaidOn

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Names in the bundlemermaid

See this entry in the whole of v2.1.239 →

Feedback