Version: 0.0.1-alpha0.0.1-beta1.0.01.0.11.0.21.0.31.0.41.0.51.1.02.0.0-alpha2.0.0-alpha22.0.0-beta2.0.02.0.12.1.02.1.12.2.0-rc2.2.0-rc22.2.0-rc32.2.02.2.13.0.0-beta3.0.0-beta23.0.0-beta33.0.0-beta43.0.03.0.1-03.0.1-13.1.03.2.0-rc.13.2.0-rc.23.2.0-rc.33.2.0-rc.43.2.0-rc.53.2.0-rc.63.2.0-rc.73.2.0-rc.83.2.0-rc.93.2.0-rc.103.2.03.2.1-rc.03.2.1-rc.13.2.1-rc.23.2.13.2.2-rc.13.2.2-rc.23.2.2-rc.33.2.2-rc.43.2.2-rc.53.2.33.2.4-rc.33.2.4-rc03.2.4-rc13.2.4-rc23.2.43.2.53.2.6-rc03.2.64.0.0-rc.04.0.0-rc.14.0.0-rc.24.0.0-rc.34.0.04.0.1-rc.04.0.1-rc.14.0.14.0.24.0.3-rc.04.0.3-rc.14.0.3-rc.44.0.3-rc.54.0.3-rc.64.0.34.0.44.0.5-rc.04.0.54.0.6-rc.14.0.64.1.0-rc.04.1.04.1.14.1.24.1.3
# markdown 扩展
YDoc 使用了开源工具 [markdown-it](https://github.com/markdown-it/markdown-it) 解析 markdown,可以使用 markdown-it 已有的插件或开发新的插件定制功能,具体可参考 markdown-it 开发文档。
### YDoc 配置 markdown-it 插件
在 ydoc.js 配置文件增加 markdownIt 配置项
```js
{
markdownIt: function(){
md.use(plugin1)
.use(plugin2, opts, ...)
.use(plugin3);
}
```