Skip to content

ahmedash95/mersli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mersli

Mersli is a simple cli tool to generate slides from mermaid diagrams to a web html page.

Features

  • 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

Installation

npm install -g mersli

Demo

New.Recording.Apr.23.2023.0719.PM.mp4

Usage

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

About

Make slides from your mermaids

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published