Skip to content

Instantly share code, notes, and snippets.

@dklanac
Created July 1, 2025 16:04
Show Gist options
  • Save dklanac/660e220dd8788a19fa61b5bdce02a276 to your computer and use it in GitHub Desktop.
Save dklanac/660e220dd8788a19fa61b5bdce02a276 to your computer and use it in GitHub Desktop.
Export Mermaid Chart
PUPPETEER_EXECUTABLE_PATH="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" npx --package=@mermaid-js/mermaid-cli@latest mmdc -t neutral -i "./ux_flows.mmd" -o "./export.png" -b white -s 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment