Skip to main content
Run any Skill in Manus
with one click

mermaid-to-image

Stars5
Forks2
UpdatedApril 16, 2026 at 13:09

将 Mermaid 图表代码转换为图片(PNG/SVG)。当用户需要把 Mermaid 代码、流程图、时序图、甘特图等渲染成图片文件时使用此 skill。支持:(1) 从 .mmd 文件或代码字符串输入 (2) 输出 PNG 或 SVG 格式 (3) 支持 default/dark/forest/neutral/base 主题 (4) 自定义宽高、背景色、缩放比例。依赖 Node.js + @mermaid-js/mermaid-cli (mmdc)。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
2 files
SKILL.md
readonly