pry aeaa5dba61 | 4 lat temu | ||
---|---|---|---|
.. | |||
css | 删除 | 4 lat temu | |
fonts | 删除 | 4 lat temu | |
images | 删除 | 4 lat temu | |
languages | 删除 | 4 lat temu | |
lib | 删除 | 4 lat temu | |
plugins | 删除 | 4 lat temu | |
Gulpfile.js | 4 lat temu | ||
LICENSE | 4 lat temu | ||
README.md | 4 lat temu | ||
editormd.amd.js | 4 lat temu | ||
editormd.amd.min.js | 4 lat temu | ||
editormd.js | 4 lat temu | ||
editormd.min.js | 4 lat temu | ||
package.json | 4 lat temu |
Editor.md : The open source embeddable online markdown editor (component), based on CodeMirror & jQuery & Marked.
Editor.md 是一款开源的、可嵌入的 Markdown 在线编辑器(组件),基于 CodeMirror、jQuery 和 Marked 构建。
https://pandao.github.io/editor.md/examples/index.html
Bower install :
bower install editor.md
HTML:
<link rel="stylesheet" href="editormd.min.css" />
<div id="editormd">
<textarea style="display:none;">### Hello Editor.md !</textarea>
</div>
Tip: Editor.md can auto append
<textarea>
tag;
javascript:
<script src="jquery.min.js"></script>
<script src="editormd.min.js"></script>
<script type="text/javascript">
$(function() {
var editor = editormd("editormd", {
path : "../lib/" // Autoload modules mode, codemirror, marked... dependents libs path
});
/*
// or
var editor = editormd({
id : "editormd",
path : "../lib/"
});
*/
});
</script>
Using modular script loader :
The MIT License.
Copyright (c) 2015 Pandao