semo-plugin-markmap
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

semo-plugin-markmap

This is a tool to convert markdown to mindmap, based on markmap, what I have done is to add his toolbar package to command.

Usage

Basic

npm i -g @semo/cli semo-plugin-markmap
semo markmap test.md
semo mm test.md

Url

semo mm https://raw.githubusercontent.com/semojs/semo-plugin-markmap/master/test.md

Pipe

echo "# abc" | semo mm

Shortcuts

  • space: fit window in center in case you move or zoom it.
  • 0: hide all except the central one.
  • 9: show all.
  • 1: expand to level 1.
  • 2: expand to level 2.
  • 3: expand to level 3.
  • +: zoomIn
  • -: zoomOut
  • ESC: close the mindmap fullscreen mode.
  • f: toggle fullscreen mode.

Licence

MIT

Package Sidebar

Install

npm i semo-plugin-markmap

Weekly Downloads

4

Version

2.0.2

License

MIT

Unpacked Size

30.1 kB

Total Files

8

Last publish

Collaborators

  • vipzhicheng