mermaid-js / mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
https://mermaid.js.org
MIT License
71.16k stars 6.41k forks source link

The documentation for CLI seems outdated. #572

Closed zhanzhenzhen closed 7 years ago

zhanzhenzhen commented 7 years ago

I just found that the CLI caused errors when upgrading to 7.0.18 yesterday. It said the bin file contains the import keyword which can't be parsed by Node.js. Today I even saw the 7.1.0 version removed the CLI. But the documentation is not yet updated.

Also, I have a question: Is using CLI+PhantomJS the only method to generate PNG images on a server?

tylerlong commented 7 years ago

CLI has been moved: https://github.com/mermaidjs/mermaid.cli

Is using CLI+PhantomJS the only method to generate PNG images on a server?

Project above uses Puppeteer to generate PNG