Simon Willison
Simon Willison 将 Grok CLI 中的 Mermaid 渲染器编译为 WebAssembly,在浏览器中实现 Mermaid 图的 Unicode 框图渲染,展示了 Rust 代码的 Web 端复用
AI 摘要
Simon Willison 将 Grok CLI 中的 Mermaid 渲染器编译为 WebAssembly,在浏览器中实现 Mermaid 图的 Unicode 框图渲染,展示了 Rust 代码的 Web 端复用。
推荐理由常规快讯,保留列表
原文
Tool: Mermaid to Unicode box art (grok-mermaid)
While exploring the codebase for the newly open-sourced Grok CLI coding agent I came across 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 I ran in Claude Code for web (Fable 5), and this is what the resulting tool looks like:
52/100
讨论
暂无评论。