A mdbook preprocessor to render markdown with markmap.
Install markmap-cli with npm:
npm install -g markmap-cli
Install the mdbook-markmap plugin with cargo:
cargo install --git https://github.com/r4ve1/mdbook-markmap
Add the following to your book.toml
:
[preprocessor.markmap]
Then, in your markdown files, use the following syntax to render a markmap:
This is a markmap:
```markmap
# This is a markmap
## Some heading
### Item 1
### Item 2
```
The output will be a rendered markmap.
Contributions are welcome! Please open an issue or pull request to discuss your ideas.