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

tuantm8/editor.md

 
 

Repository files navigation

Editor.md

Editor.md : The opensource online markdown editor, based on CodeMirror & jQuery & Marked.

Features

README & Examples (English)


Editor.md is an opensource online Markdown editor, based on CodeMirror, jQuery and Marked.

editormd-screenshot

Features

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%