beijingos/public/editormd
caishi 70c4e80e1a ... 2019-01-25 10:45:19 +08:00
..
css 1 2019-01-15 17:06:14 +08:00
docs 1 2019-01-15 17:06:14 +08:00
examples 1 2019-01-15 17:06:14 +08:00
fonts 1 2019-01-15 17:06:14 +08:00
images 1 2019-01-15 17:06:14 +08:00
languages 1 2019-01-15 17:06:14 +08:00
lib 1 2019-01-15 17:06:14 +08:00
plugins ... 2019-01-25 10:45:19 +08:00
scss 1 2019-01-15 17:06:14 +08:00
src 1 2019-01-15 17:06:14 +08:00
tests 1 2019-01-15 17:06:14 +08:00
.jshintrc 1 2019-01-15 17:06:14 +08:00
BUGS.md 1 2019-01-15 17:06:14 +08:00
CHANGE.md 1 2019-01-15 17:06:14 +08:00
Gulpfile.js 1 2019-01-15 17:06:14 +08:00
LICENSE 1 2019-01-15 17:06:14 +08:00
README.md 1 2019-01-15 17:06:14 +08:00
bower.json 1 2019-01-15 17:06:14 +08:00
editormd.amd.js 1 2019-01-15 17:06:14 +08:00
editormd.amd.min.js 1 2019-01-15 17:06:14 +08:00
editormd.js 1 2019-01-15 17:06:14 +08:00
editormd.min.js 1 2019-01-15 17:06:14 +08:00
package.json 1 2019-01-15 17:06:14 +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