Skip to content

🪄🪄🪄Create a new Markmap instance and render the code content on your Docsify

Notifications You must be signed in to change notification settings

rcqed/docsify-markmap.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docsify-markmap.js

🪄🪄🪄Create a new Markmap instance and render the code content on your Docsify

How to use

NPM or CDN

npm i docsify-markmap.js
add to index.html on your docsify.
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/docsify-markmap.min.js"></script>

Add markmap code on your markdown

you can see https://markmap.js.org/

```markmap
# test

## test2

 - 123

## hello world

 - 345
```(end)

use css to custom the size

<style>
  .markmap {
    width: 100%;
    height: 500px;
  }
</style>

Open it on your docsify

See the Demo

Thanks

https://github.com/docsifyjs/docsify/

https://github.com/markmap/markmap

About

🪄🪄🪄Create a new Markmap instance and render the code content on your Docsify

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published