mermaid-js-converter
v1.0.13
Published
You can use command line to convert [Mermaid](https://github.com/mermaid-js/mermaid)'s Markdown format into a more general SVG.
Downloads
89
Readme
mermaid-js-converter
You can use command line to convert Mermaid's Markdown format into a more general SVG.
Requires
Install
$ npm install -g mermaid-js-converter
How to use
Add mermaid
to the code block in Markdown to make this tool detect conversion. Like example.md
Then execute the conversion command line.
$ mjc -f myMD.md -o SVG
- -f: File name
- -o: Output format
- md: SVG to markdown
- SVG: Markdown to SVG
Why this repository
Mermaid is a very cool development tool.
Although Gitlab has been supported, it is not supported Github.
This repository is affected by this issue inspired.
If the Markdown of a website does not support Mermaid, you can use this tool.
Of course, it would be better if Mermaid could be listed as a Markdown standard.
Support
- [x] Flow Chart
- [x] Sequence Diagram
- [x] Class Diagram
- [x] State Diagram
- [x] Gantt Chart
- [x] Pie Chart
- [x] ER Diagram
- [x] User Journey