diff --git a/test/test.html b/test/test.html index 76e4572..14501e9 100644 --- a/test/test.html +++ b/test/test.html @@ -9,9 +9,10 @@
# 简易Markdownd编辑器 + [![](https://img.shields.io/github/issues/jaywcjlove/MDEditor.svg)](https://github.com/jaywcjlove/MDEditor/issues) [![](https://img.shields.io/github/forks/jaywcjlove/MDEditor.svg)](https://github.com/jaywcjlove/MDEditor/network) [![](https://img.shields.io/github/stars/jaywcjlove/MDEditor.svg)](https://github.com/jaywcjlove/MDEditor/stargazers) [![](https://img.shields.io/github/release/jaywcjlove/MDEditor.svg)](https://github.com/jaywcjlove/MDEditor/releases) -## 使用 +##使用 [预览MDEditor](http://jaywcjlove.github.io/MDEditor) @@ -19,6 +20,28 @@ - 添加 `MDEditor.min.js` 并不是 ~~`lib/MDEditor.js`~~ 哦 - 添加编辑器初始节点 +```html + + ++# 这里放markdown初始值 +- id: 节点id +- minheight: 初始化编辑器高度 +- maxheight: 编辑器随着输入内容增多而变高,这个值是它的最大值 +- value: 默认编辑器中显示markdown内容 ++ +``` ## MDEditor初始化