pretty-mermaid
Pretty Mermaid converts Mermaid diagram code into polished SVG graphics or terminal-friendly ASCII output. Choose from 15 built-in themes optimized for dark and light documentation, customize colors and fonts, or batch-process multiple diagrams in parallel.
Pretty Mermaid renders Mermaid diagrams to SVG or ASCII with 15+ themes and batch processing.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-01-31
Pretty Mermaid renders Mermaid diagrams to SVG or ASCII with 15+ themes and batch processing. Pretty Mermaid converts Mermaid diagram code into polished SVG graphics or terminal-friendly ASCII output. Choose from 15 built-in themes optimized for dark and light documentation, customize colors and fonts, or batch-process multiple diagrams in parallel.
Use it when
- Pretty Mermaid creates flowcharts, sequence diagrams, state diagrams, class diagrams, and ER (entity-relationship) diagrams.
- Yes, pretty-mermaid supports batch processing of multiple diagram files in parallel.
Verify before relying
Read SKILL.md below before installing (17 files). Open directory: indexed for reading, not audited.
Install
imxv/Pretty-mermaid-skills/Pretty-mermaid-skills · repository language: JavaScript
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I render mermaid diagram to SVG with pretty-mermaid?
Pretty Mermaid converts your Mermaid diagram code directly into polished SVG graphics. Simply provide your diagram definition, select your desired output format (SVG or ASCII), and optionally apply one of 15 built-in themes optimized for both dark and light documentation contexts. The tool handles the rendering automatically.
What diagram types does pretty-mermaid support?
Pretty Mermaid creates flowcharts, sequence diagrams, state diagrams, class diagrams, and ER (entity-relationship) diagrams. Each diagram type can be rendered to SVG for web use or ASCII format for terminal and plain-text documentation, with full theme and styling customization available.
Can pretty-mermaid batch render multiple mermaid files?
Yes, pretty-mermaid supports batch processing of multiple diagram files in parallel, allowing you to convert entire collections of .mmd files efficiently. This is ideal for large documentation projects where you need to generate many diagrams at once while maintaining consistent styling.
How do I apply themes and customize diagram styling in pretty-mermaid?
Pretty Mermaid includes 15 professional built-in themes optimized for both dark and light documentation. You can apply these themes directly or customize colors, fonts, and other visual properties to match your brand or documentation style. Theme support ensures your diagrams look polished across all contexts.
Does pretty-mermaid generate terminal-friendly ASCII diagrams?
Yes, pretty-mermaid can convert Mermaid diagrams into ASCII art format, making them perfect for terminal output, plain-text documentation, and code comments. This allows you to include beautiful architecture and flowchart diagrams in environments where SVG graphics aren't practical.
What license does pretty-mermaid use?
Pretty Mermaid is released under the MIT license, allowing you to use, modify, and distribute it freely in both personal and commercial projects with minimal restrictions.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
Pretty Mermaid
Render stunning, professionally-styled Mermaid diagrams with one command. Supports SVG for web/docs and ASCII for terminals.
Quick Start
Render a Single Diagram
From a file:
node scripts/render.mjs \
--input diagram.mmd \
--output diagram.svg \
--format svg \
--theme tokyo-night
From user-provided Mermaid code:
1. Save the code to a .mmd file
2. Run the render script with desired theme
Batch Render Multiple Diagrams
```bash node scripts/batch.mjs \ --input-dir ./diagrams \
(truncated - see the full file via the links below)
File tree — 15 files
.gitignore
LICENSE
README.md
README_CN.md
SKILL.md
assets/example_diagrams/class.mmd
assets/example_diagrams/er.mmd
assets/example_diagrams/flowchart.mmd
assets/example_diagrams/sequence.mmd
assets/example_diagrams/state.mmd
package.json
references/DIAGRAM_TYPES.md
references/THEMES.md
references/api_reference.md
scripts/batch.mjs
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Render Mermaid diagrams to SVG or ASCII format with theme support”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Build static technical diagrams—architecture, flows, hierarchies—where layout is determined by arithmetic rather than manual positioning, then render to both hand-editable SVG and high-resolution PNG. Designed for slides, email, and offline use, with native support for Korean, Japanese, and Chinese text that wraps at exact, verified widths.
Transform Mermaid diagrams into terminal-friendly ASCII and Unicode visualizations. Render from .mmd files, standard input, or Markdown fenced blocks with a simple command-line interface. Auto-installs dependencies into a cache directory or symlinks a persistent command to your PATH.
Mermaid Studio generates polished diagrams from descriptions or code, supporting flowcharts, sequences, ERDs, C4 architecture, AWS infrastructure, and 15+ other diagram types. Render to SVG, PNG, or ASCII with syntax validation and curated color themes built in.
Mermaid to GIF transforms Mermaid diagram code into animated GIF files with four distinct animation styles tailored to different diagram types. Extract diagrams from .mmd files or markdown code blocks, then customize animation, theme, and rendering options to suit your presentation or documentation needs.
Archify transforms plain-language descriptions or JSON specifications into self-contained, explorable HTML diagrams for system architecture, workflows, API sequences, data pipelines, and state machines. Output includes interactive features like pan/zoom, theme switching, and optional trace animation, with exports to SVG, PNG, JPEG, WebP, and WebM.
Create professional diagrams from simple text syntax and export to multiple formats without manual positioning. Supports flowcharts, sequence diagrams, class diagrams, ER schemas, state machines, and more—run locally with mmdc or instantly via Kroki API.
More skills Mermaidjs V11 (unlicensed) · creating-mermaid-diagrams (MIT) · sf-diagram-mermaid (MIT)