enhanced-markmap
v0.0.10
Published
Visualize markdown documents as mindmaps
Downloads
45
Maintainers
Readme
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.
| | | |:-:|:-:| | 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:
- The text is parsed and transformed into a tree representation.
- 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.