1 Star 0 Fork 194

狂飙的小蜗牛 / editor.md

forked from 叛道 / editor.md 
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Editor.md

Editor.md is an online markdown editor, based on CodeMirror & jQuery & Marked.

###Features

  • Support Standard Markdown 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...;
  • Compatible with all major browsers (IE8+), compatible Zepto.js and iPad;
  • Support identification, interpretation, fliter of the HTML tags;
  • Support TeX (LaTeX expressions, Based on KaTeX), Flowchart and Sequence Diagram of Markdown extended syntax;
  • Support AMD/CMD (Require.js & Sea.js) Module Loader, and Custom/define editor plugins;

README & Examples (English)


Editor.md 是一个基于CodeMirror、jQuery 和 Marked 构建的 Markdown 在线编辑器。

editormd-screenshot

####主要特性

####在线演示 (Examples)

https://pandao.github.io/editor.md/examples/index.html

####下载和安装 (Download & install)

通过 Github下载安装,或者通过 Bower 安装:

bower install editor.md

####使用方法 (Usage)

HTML:

<link rel="stylesheet" href="../dist/css/editormd.css" />
<div id="test-editormd">
    <textarea style="display:none;">###Hello world!</textarea>
</div>

提示1:如果没有Markdown源内容或者通过Ajax异步加载Markdown源文档等,可以不添加<textarea>,会自动添加;

javascript:

<script src="../lib/jquery.min.js"></script>
<script src="../src/js/editormd.js"></script>
<script type="text/javascript">
    $(function() {
        var testEditor = editormd("test-editormd", {
            path : '../lib/' // codemirror、marked等依赖的库的路径
        });
    });
</script>

Require.js的使用方法:https://github.com/pandao/editor.md/tree/master/examples/use-requirejs.html

Sea.js的使用方法:https://github.com/pandao/editor.md/tree/master/examples/use-seajs.html

####依赖项目及感谢 (Dependents)

####Changes

更新日志 Change logs

####License

The MIT License.

Copyright (c) 2015 Pandao

Comments ( 0 )

Sign in for post a comment

About

Editor.md: A simple online markdown editor. 只做镜像。 spread retract
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
1
https://gitee.com/ihotte/editor.md.git
git@gitee.com:ihotte/editor.md.git
ihotte
editor.md
editor.md
master

Search