generate
Convert Mermaid markdown into PNG or SVG images with customizable themes, background colors, and output formats using the MCP server.
Instructions
Generate PNG image or SVG from mermaid markdown
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The mermaid markdown to generate an image from | |
| name | No | Name of the diagram (optional) | |
| theme | No | Theme for the diagram (optional) | |
| folder | No | Absolute path to save the image to (optional) | |
| outputFormat | No | Output format for the diagram (optional, defaults to 'png') | |
| backgroundColor | No | Background color for the diagram, e.g. 'white', 'transparent', '#F0F0F0' (optional) |