Use markmap command-line in a local terminal.


$ yarn global add markmap-cli
# or
$ npm install -g markmap-cli

You can also use with npx without installation:

$ npx markmap-cli


Usage: markmap [options] <input>

Create a markmap from a Markdown input file

  -V, --version          output the version number
  --no-open              do not open the output file after generation
  --no-toolbar           do not show toolbar
  -o, --output <output>  specify filename of the output HTML
  --offline              Inline all assets to allow the generated HTML to work offline
  -w, --watch            watch the input file and update output on the fly, note that this feature is for development only
  -h, --help             display help for command

Quick start with a file:

$ npx markmap-cli