Convert Mermaid Diagrams to Unicode Box Art
Simon Willison · rss · 2026-07-16
The author discovered xai-grok-markdown/src/mermaid.rs in the newly open-sourced Grok CLI coding agent repository, a Rust-based terminal component for rendering Mermaid diagrams.\n\nThey subsequently ported this capability to the browser using WebAssembly and built a mini-tool via prompts in Claude Code for web. The final output is a web tool that converts Mermaid diagrams into Unicode box art.\n\nThis post serves as a practical log of "extracting reusable capabilities from open-source code and rapidly building functional tools," offering valuable insights for coding agent and dev tool developers.
More from coding & agent
- Hugging Face wraps 6-month Training Agents series with open recordings and code — SergioPaniego · 2026-10-26
- Agent verified 'success' after double-voting: a lesson in harness vs model bugs — TejasKumar_ · 2026-10-26
- diginomica: agentic automation hype is overdone, and 'The Hackening' of enterprise security has begun — jonerp · 2026-10-26
- 'Vibe verification': ~60% of AI-written formal specs prove the wrong property — basedjensen · 2026-10-26
- Devin launches Security suite powered by Claude Mythos with $100M+ credits — DevinAI · 2026-10-26
- HackBench injects reward hacks into agent trajectories to stress-test monitors — DanielKhashabi · 2026-10-26