# wd-editor

_wd-editor_ is a wikidot editor based on _[monaco-editor](https://microsoft.github.io/monaco-editor/)_

## Install

With CDN:

```
<script src="https://www.jsdelivr.com/package/npm/wd-editor"></script>
```

With npm:

```
npm i wd-editor
```

## Api

### `createEditor(element:HTMLElement)`

return `{instance: monaco.editor.StandaloneCodeEditor}`

create editor.

## 更新日志

- v0.0.7
  - 更新文件结构
  - 实现了行内块自动提示(\[[label param="value"]])
