star7th cb4ba275a6 Merge branches and resolving conflicts / 合并分支和解决代码冲突 3 years ago
..
css cb4ba275a6 Merge branches and resolving conflicts / 合并分支和解决代码冲突 3 years ago
fonts 9e4467f0e7 重构了前端页面 6 years ago
images 9e4467f0e7 重构了前端页面 6 years ago
languages 9e4467f0e7 重构了前端页面 6 years ago
lib 908b0ac9c2 v2.8.15 3 years ago
plugins 9e4467f0e7 重构了前端页面 6 years ago
Gulpfile.js 9e4467f0e7 重构了前端页面 6 years ago
LICENSE 9e4467f0e7 重构了前端页面 6 years ago
README.md 9e4467f0e7 重构了前端页面 6 years ago
editormd.amd.js 9e4467f0e7 重构了前端页面 6 years ago
editormd.amd.min.js 9e4467f0e7 重构了前端页面 6 years ago
editormd.js 5ef2d2a390 Support mind map 4 years ago
editormd.min.js 9e4467f0e7 重构了前端页面 6 years ago
package.json 9e4467f0e7 重构了前端页面 6 years ago

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