- Replacing astro-mermaid with Pele: Build-Time Mermaid SVGs
Replace client-side astro-mermaid with Pele to pre-render Mermaid diagrams as static SVGs at build time with 0KB client JS and instant theme switching.
7 min🇺🇸 English - astro-mermaid を Pele に移行:ビルド時に SVG 静的生成
astro-mermaid を Pele に置き換え、Mermaid 図をビルド時に静的 SVG として事前レンダリング。クライアント JS を 0KB に削減し高速化を実現。
8 min🇯🇵 日本語 - Thay thế astro-mermaid bằng Pele: SVG tại Build-time
Cách thay thế astro-mermaid bằng Pele để render biểu đồ Mermaid thành SVG tĩnh ngay khi build, giảm 0KB JavaScript và tối ưu hiệu năng.
8 min🇻🇳 Tiếng Việt - 使用 Pele 替代 astro-mermaid:构建期生成 SVG 图表
使用 Pele 替代 astro-mermaid,在 Astro 构建期将 Mermaid 语法直接渲染为静态 SVG,实现客户端 0KB JS 与纯 CSS 主题无缝切换。
10 min🇨🇳 中文
Quay lại