Skip to content

Commit

Permalink
Merge pull request #15 from tylerlong/master
Browse files Browse the repository at this point in the history
Fix a typo
  • Loading branch information
pandao committed Feb 23, 2015
2 parents 76b7f25 + a0f4bf3 commit dd64cd0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ HTML:

<link rel="stylesheet" href="../dist/css/editormd.css" />
<div id="test-editormd">
<textarea>###Hello world!</texarea>
<textarea>###Hello world!</textarea>
</div>

> 提示1:如果没有Markdown源内容或者通过Ajax异步加载Markdown源文档等,可以不添加`<textarea>`,会自动添加;
Expand All @@ -50,11 +50,10 @@ javascript:
<script type="text/javascript">
$(function() {
var testEditor = editormd("test-editormd", {
path : '../lib/' // codemirror、marked等依赖的库的路径
});
path : '../lib/' // codemirror、marked等依赖的库的路径
});
});
</script>
});
</script>

> Require.js的使用方法:[https://github.com/pandao/editor.md/tree/master/examples/use-requirejs.html](https://github.com/pandao/editor.md/tree/master/examples/use-requirejs.html)
Expand All @@ -81,4 +80,4 @@ javascript:

The MIT License.

Copyright (c) 2015 Pandao
Copyright (c) 2015 Pandao

0 comments on commit dd64cd0

Please sign in to comment.