Mermaid to Unicode box art (grok-mermaid)
Named practitioner synthesis
#183
- Topic
- Practitioner Notes
- First seen
- 2026-07-16 19:07:59
- Last seen
- 2026-07-16 19:07:59
Source raw items (1)
- Blog / Newsletter2026-07-16 19:07:19Mermaid to Unicode box art (grok-mermaid)
<p><strong>Tool:</strong> <a href="https://tools.simonwillison.net/grok-mermaid">Mermaid to Unicode box art (grok-mermaid)</a></p> <p>While <a href="https://simonwillison.net/2026/Jul/15/grok-build/">exploring the codebase</a> for the newly open-sourced Grok CLI coding agent I came across <a href="https://github.com/xai-org/grok-build/blob/b189869b7755d2b482969acf6c92da3ecfeffd36/crates/codegen/xai-grok-markdown/src/mermaid.rs">xai-grok-markdown/src/mermaid.rs</a>, a "self-contained terminal renderer for Mermaid diagrams" written in Rust.</p> <p>I figured it would be fun to try that out in a browser via WebAssembly. Here's <a href="https://github.com/simonw/tools/pull/293#issue-4897479396">the prompt</a> I ran in Claude Code for web (Fable 5), and this is what the resulting tool looks like:</p> <p><img alt="Screenshot of a Mermaid diagram editor showing source code and rendered flowchart. The code reads: graph TD Start[Request received] --> Auth{Authenticated?} Auth -->|y