Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

markmap-cli

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markmap-cli

Create markmaps from CLI

  • 0.13.0-alpha.0
  • next
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.3K
increased by26.94%
Maintainers
1
Weekly downloads
 
Created
Source

markmap-cli

NPM License Downloads

Use markmap-lib in command-line.

Installation

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

You can also use with npx without installation:

$ npx markmap-cli

Command-line Usage

Usage: markmap [options] <input>

Create a markmap from a Markdown input file

Options:
  -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
  -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

Creating a markmap

Suppose we have a Markdown file named note.md.

Run the following command to get an interactive mindmap:

$ markmap note.md

# without global installation
$ npx markmap-lib note.md

Then we get note.html in the same directory, and hopefully it will be open in your default browser.

Watching changes

Enable watching mode by -w:

$ markmap -w note.md

A markmap will be created and opened in your browser, and will be updated as soon as changes are saved to the source file.

Keywords

FAQs

Package last updated on 30 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc