Rendering is synchronous: render() returns an SVG string directly, made possible by canvas-based text measurement in browsers and a built-in character width table in Node, removing the async DOM dependency that plagues most diagram libraries. Theming is handled via CSS variables like --pele-fg and --pele-series-1~8, so theme switches do not require re-rendering. Developers embedding diagrams in fast, theme-switching apps or documentation tools can adopt Pele now as a lighter alternative to mermaid.js and its dagre/d3 dependency chain.
#Mermaid
Obsidian 的 CEO 自己受不了 Mermaid.js 又大又慢,写了个 Pele,语法通用、体积小 6 倍、快上百倍,还在用 Mermaid 的可以换着试试。
Styling rules live in a reusable Skill, so diagram quality stops depending on how well you phrase each prompt. Teams publishing technical posts can point it at their site to keep visuals on-brand without Figma work. It also handles Mermaid and Excalidraw rewrites, making it a practical drop-in for existing Claude Code or Codex workflows.
想在桌面写 Markdown 又想要多标签?Moji 是开源应用,能渲染 Mermaid 图表、导出 PDF/PNG,适合日常写作。
Simon用Claude Fable 5把Go版的Mermaid转ASCII编译成了WebAssembly,还能显示颜色,跟Rust版对比着玩,挺有意思。
Simon Willison 在刚开源的 Grok Build CLI 里挖到一个用 Unicode 方块艺术画 Mermaid 图表的终端渲染器,挺有意思。
用Claude Code写一段提示词,就能把Mermaid图表变成终端风格的Unicode字符画,直接跑在浏览器里,不用装东西。
CyberWriter把AI、Mermaid、KaTeX全塞进原生macOS Markdown编辑器里,导出PDF不用装插件,写技术文档超方便。