Example

            <link rel="stylesheet" href="editormd/css/editormd.css" />
            <div id="test-editor">
                <textarea style="display:none;">### Editor.md
            
            **Editor.md**: The open source embeddable online markdown editor, based on CodeMirror & jQuery & Marked.
                </textarea>
            </div>
            <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
            <script src="editormd/editormd.min.js"></script>
            <script type="text/javascript">
                $(function() {
                    var editor = editormd("test-editor", {
                        // width  : "100%",
                        // height : "100%",
                        path   : "editormd/lib/"
                    });
                });
            </script>
Copy

More Examples >>

Features

  • Support Standard Markdown / CommonMark and GFM(GitHub Flavored Markdown);
  • Full-featured: Real-time Preview, Image (cross-domain) upload, Preformatted text/Code blocks/Tables insert, Code fold, Search replace, Read only, Themes, Multi-languages, L18n, HTML entities, Code syntax highlighting...;
  • Markdown Extras : Support ToC (Table of Contents), Emoji, Task lists, @Links...;
  • Support TeX (LaTeX expressions, Based on KaTeX), Flowchart and Sequence Diagram of Markdown extended syntax;
  • Support identification, interpretation, fliter of the HTML tags;
  • Support AMD/CMD (Require.js & Sea.js) Module Loader, and Custom/define editor plugins;
  • Compatible with all major browsers (IE8+), compatible Zepto.js and iPad;
  • Support Custom theme styles;

Download & install

Latest version: v1.5.0,Update: 2015-06-09

Github download



Or NPM install:

npm install editor.md

Or Bower install:

bower install editor.md


Change logs:

CHANGES