This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
markmap with all
npm packages installed. Try it out:
markmap lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
|Default style||Colorful style|
Suggestions for new featues are welcome, feel free to open an issue.
Install the component with NPM:
npm install markmap
Visualizing a markdown text consists of two steps:
To run the examples first clone the project and install dependencies:
git clone https://github.com/dundalek/markmap.git cd markmap npm install
In the examples code there are imports like
require('../../lib/somefile'). When using this library in your project you need to change those to
npm start and a browser will open with the example page where you can see how different formats are parsed and displayed. The source code for browser examples is located in examples/browser folder.
Node examples are located in examples/node. You can run the markdown example or others as follows:
cd examples/node node example.markdown.js
The MIT License.