Turn Mermaid blocks into numbered, high-resolution PNGs.
diagram rendering
Turns embedded Mermaid code blocks into numbered .mmd files and high-resolution PNG images.
When to use it
Use when extracting, converting, or otherwise processing Mermaid diagrams embedded in Markdown.
Give it a Markdown file containing Mermaid diagrams; it creates extracted .mmd files and rendered PNG images.
What you provide
No additional actions listed in the analysis.
The script is configured for a WSL2 Ubuntu environment.
Node.js is required for the globally installed Mermaid CLI.
The Mermaid CLI command must be installed and available on PATH.
Google Chrome must exist at /usr/bin/google-chrome-stable.