Skip to content

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:

<linkrel="stylesheet" href="editormd.min.css" /><divid="editormd"><textareastyle="display:none;">### Hello Editor.md !</textarea></div>

Tip: Editor.md can auto append <textarea> tag;

javascript:

<scriptsrc="jquery.min.js"></script><scriptsrc="editormd.min.js"></script><scripttype="text/javascript">$(function(){vareditor=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

Editor.md: A simple online markdown editor.

Resources

Stars

60 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages