trustieplus/public/editormd
daiao 5b6156ff4c editormd开启HTML标签解析 2017-08-25 11:19:57 +08:00
..
css 新建实训时插入图片的弹框有问题了 2017-08-21 15:41:03 +08:00
docs first commit 2017-04-07 10:16:13 +08:00
examples first commit 2017-04-07 10:16:13 +08:00
fonts first commit 2017-04-07 10:16:13 +08:00
images first commit 2017-04-07 10:16:13 +08:00
languages first commit 2017-04-07 10:16:13 +08:00
lib first commit 2017-04-07 10:16:13 +08:00
plugins first commit 2017-04-07 10:16:13 +08:00
scss first commit 2017-04-07 10:16:13 +08:00
src first commit 2017-04-07 10:16:13 +08:00
tests first commit 2017-04-07 10:16:13 +08:00
.jshintrc first commit 2017-04-07 10:16:13 +08:00
BUGS.md first commit 2017-04-07 10:16:13 +08:00
CHANGE.md first commit 2017-04-07 10:16:13 +08:00
Gulpfile.js first commit 2017-04-07 10:16:13 +08:00
LICENSE first commit 2017-04-07 10:16:13 +08:00
README.md first commit 2017-04-07 10:16:13 +08:00
bower.json first commit 2017-04-07 10:16:13 +08:00
editormd.amd.js first commit 2017-04-07 10:16:13 +08:00
editormd.amd.min.js first commit 2017-04-07 10:16:13 +08:00
editormd.js editormd开启HTML标签解析 2017-08-25 11:19:57 +08:00
editormd.min.js editormd加入行内公式与多行公式。修复部分latex公式报错问题 2017-06-16 15:27:42 +08:00
package.json first commit 2017-04-07 10:16:13 +08:00

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