You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
anasfanani adc5dd61f4 upload image for editor.md 1 year ago
..
css import from hawtim/editor.md@2.0.1 1 year ago
docs import from hawtim/editor.md@2.0.1 1 year ago
examples import from hawtim/editor.md@2.0.1 1 year ago
fonts import from hawtim/editor.md@2.0.1 1 year ago
images import from hawtim/editor.md@2.0.1 1 year ago
languages import from hawtim/editor.md@2.0.1 1 year ago
lib import from hawtim/editor.md@2.0.1 1 year ago
plugins import from hawtim/editor.md@2.0.1 1 year ago
scss import from hawtim/editor.md@2.0.1 1 year ago
src import from hawtim/editor.md@2.0.1 1 year ago
tests import from hawtim/editor.md@2.0.1 1 year ago
.editorconfig import from hawtim/editor.md@2.0.1 1 year ago
.gitignore import from hawtim/editor.md@2.0.1 1 year ago
.jshintrc import from hawtim/editor.md@2.0.1 1 year ago
CHANGE.md import from hawtim/editor.md@2.0.1 1 year ago
Gulpfile.js import from hawtim/editor.md@2.0.1 1 year ago
LICENSE import from hawtim/editor.md@2.0.1 1 year ago
README.md import from hawtim/editor.md@2.0.1 1 year ago
TODOs.md import from hawtim/editor.md@2.0.1 1 year ago
bower.json import from hawtim/editor.md@2.0.1 1 year ago
editormd.amd.js import from hawtim/editor.md@2.0.1 1 year ago
editormd.amd.min.js import from hawtim/editor.md@2.0.1 1 year ago
editormd.js import from hawtim/editor.md@2.0.1 1 year ago
editormd.min.js import from hawtim/editor.md@2.0.1 1 year ago
package-lock.json import from hawtim/editor.md@2.0.1 1 year ago
package.json import from hawtim/editor.md@2.0.1 1 year ago
upload.php upload image for editor.md 1 year 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