You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
GeekQu_sspanel/public/theme/material/editor
钱半仙 f1fab7a8d0 Initial Commit 9 years ago
..
css Initial Commit 9 years ago
docs Initial Commit 9 years ago
fonts Initial Commit 9 years ago
images Initial Commit 9 years ago
languages Initial Commit 9 years ago
lib Initial Commit 9 years ago
plugins Initial Commit 9 years ago
scss Initial Commit 9 years ago
src Initial Commit 9 years ago
tests Initial Commit 9 years ago
.gitignore Initial Commit 9 years ago
.jshintrc Initial Commit 9 years ago
BUGS.md Initial Commit 9 years ago
CHANGE.md Initial Commit 9 years ago
Gulpfile.js Initial Commit 9 years ago
LICENSE Initial Commit 9 years ago
README.md Initial Commit 9 years ago
bower.json Initial Commit 9 years ago
editormd.amd.js Initial Commit 9 years ago
editormd.amd.min.js Initial Commit 9 years ago
editormd.js Initial Commit 9 years ago
editormd.min.js Initial Commit 9 years ago
package.json Initial Commit 9 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