Skip to content

chenjun1011/markmap

 
 

Repository files navigation

markmap

Markmap is a javascript component that will visualize your markdown documents as mindmaps. It is useful for better navigation and overview of the content. You can see it in action online here. It is also used in an extension for Atom editor.

markmap in action markmap in action
Default style Colorful style

Features

  • Zoom in and out with the mouse wheel.
  • Pan around by dragging the backgroud.
  • Expand/collapse children of a node by clicking on the circle.

Suggestions for new featues are welcome, feel free to open an issue.

How to use

Install the component with NPM.

npm install markmap

Visualizing a markdown text consists of two steps:

  1. The text is parsed and transformed into a tree representation.
  2. The tree is rendered.

Parsing

See the file example.parse.js in the examples folder to see how to use the parser.

Rendering

See the file example.view.js in the examples folder to see how to render a mindmap.

About

Visualize markdown documents as mindmaps

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.9%
  • CSS 2.1%