Skip to content
The open source embeddable online markdown editor (component).
JavaScript CSS HTML
Branch: master
Clone or download
Pull request Compare This branch is 6 commits ahead, 19 commits behind pandao:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
docs
examples
fonts
images
languages
lib
plugins
scss
src
tests
.gitignore
.jshintrc
BUGS.md
CHANGE.md
Gulpfile.js
LICENSE
README.md
bower.json
editormd.amd.js
editormd.amd.min.js
editormd.js
editormd.min.js
package.json

README.md

Editor.md

Editor.md插件开发

<video id="my-video" class="video-js" controls preload="auto" width="100%" poster="http://cdn.7dtime.com/time_tlog/2018-04-16_ditorMDcjkf.jpg" data-setup='{"aspectRatio":"16:9"}'>
 <source src="http://cdn.7dtime.com/time_tlog/2018-04-16_ditorMDcjkf.mp4" type="video/mp4" >
 <p class="vjs-no-js">
 To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a></p>
</video>

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.