Mersli is a simple cli tool to generate slides from mermaid diagrams to a web html page.
- Generate slides from mermaid diagrams
- Json file is only supported for now more formats will be added in the future.
- Hot reload on file changes
- Auto open browser on start
npm install -g mersli
New.Recording.Apr.23.2023.0719.PM.mp4
a quick example from the example.json
in this repo
mersli -i ./example.json
mersli --help
__ __ _ _
| \/ | ___ _ __ ___ | | (_)
| |\/| | / _ \ | '__| / __| | | | |
| | | | | __/ | | \__ \ | | | |
|_| |_| \___| |_| |___/ |_| |_|
Usage: index [options]
Make slides from your mermaid diagrams
Options:
-V, --version output the version number
-i, --input <path> Input file
-p, --port <port> Port to start the server on (default: 3000)
-a, --auto-open Auto open the browser (default: true)
-h, --help display help for command