# Mermaid to Unicode box art (grok-mermaid)

> Source: <https://simonwillison.net/2026/Jul/16/grok-mermaid/#atom-everything>
> Published: 2026-07-16 00:33:18+00:00

**Tool:** [Mermaid to Unicode box art (grok-mermaid)](https://tools.simonwillison.net/grok-mermaid)

While [exploring the codebase](https://simonwillison.net/2026/Jul/15/grok-build/) for the newly open-sourced Grok CLI coding agent I came across [xai-grok-markdown/src/mermaid.rs](https://github.com/xai-org/grok-build/blob/b189869b7755d2b482969acf6c92da3ecfeffd36/crates/codegen/xai-grok-markdown/src/mermaid.rs), a "self-contained terminal renderer for Mermaid diagrams" written in Rust.

I figured it would be fun to try that out in a browser via WebAssembly. Here's [the prompt](https://github.com/simonw/tools/pull/293#issue-4897479396) I ran in Claude Code for web (Fable 5), and this is what the resulting tool looks like:
