Coder Social home page Coder Social logo

editor.md's Introduction

Editor.md

A simple online markdown editor.

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

editormd-screenshot

####主要特性

  • 支持Markdown标准和Github风格;
  • 支持实时预览和多语言语法高亮;
  • 支持ToC(Table of Contents);
  • 兼容主流的浏览器(IE8+),且支持iPad等平板设备;
  • 支持Latex科学公式(基于MathJax);
  • 支持流程图 flowchart 和时序图 sequenceDiagram;
  • 支持AMD/CMD模块化加载(支持 Require.js & Sea.js);

####在线演示

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

####下载和安装

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

bower install editor.md

####使用方法

HTML:

<div class="editormd" id="test-editormd">
    <script type="text/markdown">###Hello world!</script>
</div>

javascript:

<link rel="stylesheet" href="../dist/css/editormd.css" />
<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/'
            });
        });
	});
</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

####依赖项目及感谢

####更新日志

查看更新日志

####License

The MIT License.

Copyright (c) 2015 Pandao

editor.md's People

Contributors

pandao avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.