mermaid-cli-batch
v0.2.5
Published
A command line tool to process multiple Mermaid chart definition files in one pass into SVG diagrams.
Downloads
21
Readme
mermaid-cli-batch
A command line tool to process multiple Mermaid chart definition files in one pass into SVG diagrams.
Install
mermaid-cli-batch has a peer dependency to Playwright that you have to install by yourself prior of using the package:
npm i playwright
npx playwright install chromiumThis allows you to update playwright independent of mermaid-cli-batch!
Use
For instance, to convert all .mmd files to SVG images, you run the command:
npx mermaid-cli-batch --input *.mmdTo get a list of the possible options, do
npx mermaid-cli-batch -h