2 ms·
I made PNGs to share because Github Enterprise doesn't display Mermaid as images yet, and the diagram was more than one page so I couldn't screenshot. I used Me
by Noumenon72 4y ago
I made PNGs to share because Github Enterprise doesn't display Mermaid as images yet, and the diagram was more than one page so I couldn't screenshot. I used Mermaid CLI, which brings along chromium and puppeteer to render images:
npm i mermaid.cli
npm i mermaid
npm i puppeteer@latest
./node_modules/.bin/mmdc -i my_diagram.md -o my_image_name.png
Only problem was the text overhangs the bubbles in sequence diagram notes.