BUILD / set-render-mermaid-in-grok-build

Build

Render Mermaid diagrams in Grok Build

Render Mermaid diagrams in Grok Build

render_mermaid under [ui] controls whether Mermaid diagram blocks in the transcript render as diagrams in the TUI. Official values: Settings reference.

Values

Value Default? Meaning
auto yes Build chooses when to render Mermaid blocks
on Always render Mermaid diagram blocks

Pin it in user config

[ui]
render_mermaid = "on"

Or leave the default:

[ui]
render_mermaid = "auto"

File path: ~/.grok/config.toml / $GROK_HOME/config.toml. Change UI options from /settings (alias /config) as well.

Related display toggles

Thinking / reasoning blocks: Show thinking blocks in Grok Build. Fold consecutive tool rows: Fold tool rows in Grok Build. UI density: Tune Grok Build UI density.

Pitfalls

  • Editing project .grok/config.toml for [ui] — use user config.
  • Inventing an off value — the published reference documents auto and on only; stick to those until docs list more.