|
|
8 年 前 | |
|---|---|---|
| .. | ||
| css | 10 年 前 | |
| fonts | 10 年 前 | |
| images | 10 年 前 | |
| languages | 10 年 前 | |
| lib | 10 年 前 | |
| plugins | 10 年 前 | |
| Gulpfile.js | 10 年 前 | |
| LICENSE | 10 年 前 | |
| README.md | 10 年 前 | |
| editormd.amd.js | 10 年 前 | |
| editormd.amd.min.js | 10 年 前 | |
| editormd.js | 8 年 前 | |
| editormd.min.js | 8 年 前 | |
| katex.min.css | 8 年 前 | |
| katex.min.js | 8 年 前 | |
| package.json | 10 年 前 | |
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