玛氪宕·梦魔(Markdown Memo),使用Markdown的云端备忘录,百度IFE的RIA启航班的不合格的作业,才……才没有什么阴谋呢! 源gitee链接https://gitee.com/arathi/MarkdownMemo?_from=gitee_search
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
pandao f368df1f5a Releases v1.4.1 10 years ago
css Releases v1.4.1 10 years ago
examples Releases v1.4.1 10 years ago
fonts Releases v1.2.0 10 years ago
images Releases v1.2.0 10 years ago
languages Releases v1.4.0 10 years ago
lib Releases v1.4.1 10 years ago
plugins Releases v1.4.1 10 years ago
scss Releases v1.4.1 10 years ago
src Releases v1.4.1 10 years ago
tests Releases v1.4.1 10 years ago
.gitignore Releases v1.4.0 10 years ago
.jshintrc v1.0.0 beta 10 years ago
BUGS.md Releases v1.2.0 10 years ago
CHANGE.md Releases v1.4.1 10 years ago
Gulpfile.js Releases v1.4.0 10 years ago
LICENSE Initial commit 10 years ago
README.md Releases v1.4.1 10 years ago
bower.json Releases v1.4.1 10 years ago
editormd.amd.js Releases v1.4.1 10 years ago
editormd.amd.min.js Releases v1.4.1 10 years ago
editormd.js Releases v1.4.1 10 years ago
editormd.min.js Releases v1.4.1 10 years ago
package.json Releases v1.4.1 10 years ago

README.md

Editor.md

Editor.md is the open source online markdown editor (component), based on CodeMirror & jQuery & Marked.

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...;
  • 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="editormd.min.css" />
<div id="editormd">
    <textarea style="display:none;">### Hello world!</textarea>
</div>

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

javascript:

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

        /*
        // or             
        var editor = editormd({
            id   : "editormd",
            path : "../lib/"
        });
        */
    });
</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