Changelog
- Added Mermaid diagram support: write sequence, class, and ER diagrams as Mermaid text instead of hand-tuning SVG coordinates.
- A new pure-Python normalizer re-themes any beautiful-mermaid SVG to the Kami palette and makes it WeasyPrint-safe, with no Node bundled in the package.
- Three new diagram types bring the built-in catalog to seventeen.
- Mermaid diagrams now feature in the long-doc, portfolio, and slides templates, plus the agent keynote demo.
- Added references/mermaid.md and a single-source Kami theme, plus a lint guard that rejects un-normalized diagrams in PDF-bound templates.
更新日志
- 新增 Mermaid 图支持:用 Mermaid 文本编写时序图、类图、ER 图,不再手工调 SVG 坐标。
- 新增纯 Python 归一化器,把任意 beautiful-mermaid SVG 重上 Kami 调色板并做 WeasyPrint 安全化,包内不打包 Node。
- 三个新图类型,内置图库增至十七种。
- Mermaid 图已用于 long-doc、portfolio、slides 模板及 agent keynote 示例。
- 新增 references/mermaid.md 与单一来源的 Kami 主题,并加入 lint 守卫,拦截未归一化的图进入 PDF 模板。
Kami is a quiet design system for professional documents, one constraint set that any agent can trust. https://github.com/tw93/Kami