You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
384 B
24 lines
384 B
# markmap-toolbar
|
|
|
|
Toolbar for [markmap](https://markmap.js.org/).
|
|
|
|
It embeds a few buttons to communicate with a markmap.
|
|
|
|
## Installation
|
|
|
|
```sh
|
|
$ npm i markmap-toolbar
|
|
```
|
|
|
|
## Usage
|
|
|
|
```js
|
|
import { Toolbar } from 'markmap-toolbar';
|
|
|
|
const { el } = Toolbar.create(mm);
|
|
el.style.position = 'absolute';
|
|
el.style.bottom = '0.5rem';
|
|
el.style.right = '0.5rem';
|
|
container.append(el);
|
|
```
|