star7th 2c5bb2820c Update editormd.js 8 жил өмнө
..
css d0683f34e5 add 10 жил өмнө
fonts d0683f34e5 add 10 жил өмнө
images d0683f34e5 add 10 жил өмнө
languages d0683f34e5 add 10 жил өмнө
lib d0683f34e5 add 10 жил өмнө
plugins 26d69ed451 优化编辑器 10 жил өмнө
Gulpfile.js d0683f34e5 add 10 жил өмнө
LICENSE d0683f34e5 add 10 жил өмнө
README.md d0683f34e5 add 10 жил өмнө
editormd.amd.js d0683f34e5 add 10 жил өмнө
editormd.amd.min.js d0683f34e5 add 10 жил өмнө
editormd.js 2c5bb2820c Update editormd.js 8 жил өмнө
editormd.min.js ebba6f0eb4 Update editormd.min.js 8 жил өмнө
katex.min.css 3bc3434340 Add files via upload 8 жил өмнө
katex.min.js 3bc3434340 Add files via upload 8 жил өмнө
package.json d0683f34e5 add 10 жил өмнө

README.md

Editor.md

Editor.md : The open source embeddable online markdown editor (component), based on CodeMirror & jQuery & Marked.

Features

README & Examples (English)


Editor.md 是一款开源的、可嵌入的 Markdown 在线编辑器(组件),基于 CodeMirror、jQuery 和 Marked 构建。

editormd-screenshot

主要特性

Examples

https://pandao.github.io/editor.md/examples/index.html

Download & install

Github download

Bower install :

bower install editor.md

Usages

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 :

Dependents

Changes

Change logs

License

The MIT License.

Copyright (c) 2015 Pandao