The Wayback Machine - https://web.archive.org/web/20190322172822/https://github.com/pandao/editor.md
Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

The open source embeddable online markdown editor (component).
Branch: master
Clone or download
pandao Merge pull request #228 from canon4ever/patch-1
自定义文件名,会导致无扩展名
Latest commit 5b3ceb8 May 15, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css Releases v1.5.0 Jun 9, 2015
docs Releases v1.5.0 Jun 9, 2015
examples 自定义文件名,会导致无扩展名 Mar 23, 2016
fonts
images Releases v1.2.0 Mar 9, 2015
languages
lib Releases v1.5.0 Jun 9, 2015
plugins 跨域上传图片时,不直接进行判断是否上传图片成功 Jan 6, 2016
scss 修正全屏之后背景内容重叠的问题 Dec 6, 2015
src Merge pull request #233 from mrjlynch/master May 15, 2016
tests
.gitignore Releases v1.4.0 Mar 23, 2015
.jshintrc
BUGS.md
CHANGE.md Releases v1.5.0 Jun 9, 2015
Gulpfile.js
LICENSE Initial commit Feb 1, 2015
README.md
bower.json Releases v1.5.0 Jun 9, 2015
editormd.amd.js
editormd.amd.min.js
editormd.js
editormd.min.js Releases v1.5.0 Jun 9, 2015
package.json

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

You can’t perform that action at this time.