Skip to content
forked from pandao/editor.md

The open source embeddable online markdown editor (component).

License

Notifications You must be signed in to change notification settings

midday/editor.md

This branch is 19 commits behind pandao/editor.md:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5b3ceb8 · May 15, 2016
Jun 9, 2015
Jun 9, 2015
Mar 23, 2016
Mar 9, 2015
Mar 9, 2015
Mar 23, 2015
Jun 9, 2015
Jan 6, 2016
Dec 6, 2015
May 15, 2016
Jun 9, 2015
Mar 23, 2015
Feb 5, 2015
Mar 9, 2015
Jun 9, 2015
Apr 21, 2015
Feb 1, 2015
Jun 2, 2015
Jun 9, 2015
Apr 24, 2016
Jun 9, 2015
Jul 18, 2015
Jun 9, 2015
Jun 9, 2015

Repository files navigation

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

About

The open source embeddable online markdown editor (component).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 71.8%
  • CSS 23.2%
  • HTML 5.0%