PHPackages                             unicorn-fail/editor.md - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. unicorn-fail/editor.md

ActiveDrupal-library

unicorn-fail/editor.md
======================

Open source embeddable online markdown editor.

v1.5.1(8y ago)054.4k↓33.3%MITJavaScript

Since Mar 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/unicorn-fail/editor.md)[ Packagist](https://packagist.org/packages/unicorn-fail/editor.md)[ Docs](https://www.drupal.org/project/editor_md)[ RSS](/packages/unicorn-fail-editormd/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Editor.md
=========

[](#editormd)

[![](https://camo.githubusercontent.com/42b4c9f3d06686406dc3509b7ff1ba6c1f122c66001cff7ee555b6c6213725d1/68747470733a2f2f70616e64616f2e6769746875622e696f2f656469746f722e6d642f696d616765732f6c6f676f732f656469746f726d642d6c6f676f2d313830783138302e706e67)](https://camo.githubusercontent.com/42b4c9f3d06686406dc3509b7ff1ba6c1f122c66001cff7ee555b6c6213725d1/68747470733a2f2f70616e64616f2e6769746875622e696f2f656469746f722e6d642f696d616765732f6c6f676f732f656469746f726d642d6c6f676f2d313830783138302e706e67)

[![](https://camo.githubusercontent.com/35845425cd6e46e206b26858f5ea927708e29fd6b850bc5acbcd367594fe4dff/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f70616e64616f2f656469746f722e6d642e737667)](https://camo.githubusercontent.com/35845425cd6e46e206b26858f5ea927708e29fd6b850bc5acbcd367594fe4dff/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f70616e64616f2f656469746f722e6d642e737667)[![](https://camo.githubusercontent.com/0c594326b3f74b5012fa2679669e7c71b303ac1aeb1ceff175ee7f15fdd796f1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f70616e64616f2f656469746f722e6d642e737667)](https://camo.githubusercontent.com/0c594326b3f74b5012fa2679669e7c71b303ac1aeb1ceff175ee7f15fdd796f1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f70616e64616f2f656469746f722e6d642e737667)[![](https://camo.githubusercontent.com/943ecc7c10be0d81b7dc5374cc3a9a77ea0555a5897221e7863f6c659885f9bb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f70616e64616f2f656469746f722e6d642e737667)](https://camo.githubusercontent.com/943ecc7c10be0d81b7dc5374cc3a9a77ea0555a5897221e7863f6c659885f9bb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f70616e64616f2f656469746f722e6d642e737667)[![](https://camo.githubusercontent.com/4584e9854b434a8f0b9a17b0dd9c96a34f33b01a04fa471a3ec8b4cbed9c22cb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f70616e64616f2f656469746f722e6d642e737667)](https://camo.githubusercontent.com/4584e9854b434a8f0b9a17b0dd9c96a34f33b01a04fa471a3ec8b4cbed9c22cb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f70616e64616f2f656469746f722e6d642e737667)[![](https://camo.githubusercontent.com/c8ca3959b67a77450a4d397ece442aa1cde76a590a3bba6195b2f42887f13baa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f70616e64616f2f656469746f722e6d642e737667)](https://camo.githubusercontent.com/c8ca3959b67a77450a4d397ece442aa1cde76a590a3bba6195b2f42887f13baa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f70616e64616f2f656469746f722e6d642e737667)[![](https://camo.githubusercontent.com/7669b76e2ccbba626c5e372d3ba9131e1e5df1d652252978c9278e7053174230/68747470733a2f2f696d672e736869656c64732e696f2f626f7765722f762f656469746f722e6d642e737667)](https://camo.githubusercontent.com/7669b76e2ccbba626c5e372d3ba9131e1e5df1d652252978c9278e7053174230/68747470733a2f2f696d672e736869656c64732e696f2f626f7765722f762f656469746f722e6d642e737667)

**Editor.md** : The open source embeddable online markdown editor (component), based on CodeMirror &amp; jQuery &amp; Marked.

### Features

[](#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)](https://pandao.github.io/editor.md/examples/toc.html), [Emoji](https://pandao.github.io/editor.md/examples/emoji.html), [Task lists](https://pandao.github.io/editor.md/examples/task-lists.html), [@Links](https://pandao.github.io/editor.md/examples/@links.html)...;
- Compatible with all major browsers (IE8+), compatible Zepto.js and iPad;
- Support [decode &amp; fliter of the HTML tags &amp; attributes](https://pandao.github.io/editor.md/examples/html-tags-decode.html);
- Support [TeX (LaTeX expressions, Based on KaTeX)](https://pandao.github.io/editor.md/examples/katex.html), [Flowchart](https://pandao.github.io/editor.md/examples/flowchart.html) and [Sequence Diagram](https://pandao.github.io/editor.md/examples/sequence-diagram.html) of Markdown extended syntax;
- Support AMD/CMD (Require.js &amp; Sea.js) Module Loader, and Custom/define editor plugins;

[README &amp; Examples (English)](https://pandao.github.io/editor.md/en.html)

---

**Editor.md** 是一款开源的、可嵌入的 Markdown 在线编辑器（组件），基于 CodeMirror、jQuery 和 Marked 构建。

[![editormd-screenshot](https://camo.githubusercontent.com/daabfade2cf2800e9467b999d472d4267306b9f9090d2009bf284bb76a7f5876/68747470733a2f2f70616e64616f2e6769746875622e696f2f656469746f722e6d642f6578616d706c65732f696d616765732f656469746f726d642d73637265656e73686f742e706e67 "editormd-screenshot")](https://camo.githubusercontent.com/daabfade2cf2800e9467b999d472d4267306b9f9090d2009bf284bb76a7f5876/68747470733a2f2f70616e64616f2e6769746875622e696f2f656469746f722e6d642f6578616d706c65732f696d616765732f656469746f726d642d73637265656e73686f742e706e67)

#### 主要特性

[](#主要特性)

- 支持通用 Markdown / CommonMark 和 GFM (GitHub Flavored Markdown) 风格的语法，也可[变身为代码编辑器](https://pandao.github.io/editor.md/examples/change-mode.html)；
- 支持实时预览、图片（跨域）上传、预格式文本/代码/表格插入、代码折叠、跳转到行、搜索替换、只读模式、自定义样式主题和多语言语法高亮等功能；
- 支持 [ToC（Table of Contents）](https://pandao.github.io/editor.md/examples/toc.html)、[Emoji表情](https://pandao.github.io/editor.md/examples/emoji.html)、[Task lists](https://pandao.github.io/editor.md/examples/task-lists.html)、[@链接](https://pandao.github.io/editor.md/examples/@links.html)等 Markdown 扩展语法；
- 支持 TeX 科学公式（基于 [KaTeX](https://pandao.github.io/editor.md/examples/katex.html)）、流程图 [Flowchart](https://pandao.github.io/editor.md/examples/flowchart.html) 和 [时序图 Sequence Diagram](https://pandao.github.io/editor.md/examples/sequence-diagram.html);
- 支持[识别和解析 HTML 标签，并且支持自定义过滤标签及属性解析](https://pandao.github.io/editor.md/examples/html-tags-decode.html)，具有可靠的安全性和几乎无限的扩展性；
- 支持 AMD / CMD 模块化加载（支持 [Require.js](https://pandao.github.io/editor.md/examples/use-requirejs.html) &amp; [Sea.js](https://pandao.github.io/editor.md/examples/use-seajs.html)），并且支持[自定义扩展插件](https://pandao.github.io/editor.md/examples/define-plugin.html)；
- 兼容主流的浏览器（IE8+）和 [Zepto.js](https://pandao.github.io/editor.md/examples/use-zepto.html)，且支持 iPad 等平板设备；

#### Examples

[](#examples)

#### Download &amp; install

[](#download--install)

[Github download](https://github.com/pandao/editor.md/archive/master.zip)

Bower install :

```
bower install editor.md
```

#### Usages

[](#usages)

HTML：

```

    ### Hello Editor.md !

```

> Tip: Editor.md can auto append `` tag;

javascript:

```

    $(function() {
        var editor = editormd("editormd", {
            path : "../lib/" // Autoload modules mode, codemirror, marked... dependents libs path
        });

        /*
        // or
        var editor = editormd({
            id   : "editormd",
            path : "../lib/"
        });
        */
    });

```

Using modular script loader :

- [Using Require.js](https://github.com/pandao/editor.md/tree/master/examples/use-requirejs.html)
- [Using Sea.js](https://github.com/pandao/editor.md/tree/master/examples/use-seajs.html)

#### Dependents

[](#dependents)

- [CodeMirror](http://codemirror.net/ "CodeMirror")
- [marked](https://github.com/chjj/marked "marked")
- [jQuery](http://jquery.com/ "jQuery")
- [FontAwesome](http://fontawesome.io/ "FontAwesome")
- [github-markdown.css](https://github.com/sindresorhus/github-markdown-css "github-markdown.css")
- [KaTeX](http://khan.github.io/KaTeX/ "KaTeX")
- [prettify.js](http://code.google.com/p/google-code-prettify/ "prettify.js")
- [Rephael.js](http://raphaeljs.com/ "Rephael.js")
- [flowchart.js](http://adrai.github.io/flowchart.js/ "flowchart.js")
- [sequence-diagram.js](http://bramp.github.io/js-sequence-diagrams/ "sequence-diagram.js")
- [Prefixes.scss](https://github.com/pandao/prefixes.scss "Prefixes.scss")

#### Changes

[](#changes)

[Change logs](https://github.com/pandao/editor.md/blob/master/CHANGE.md)

#### License

[](#license)

The MIT License.

Copyright (c) 2015 Pandao

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 57.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2972d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1009c056866291aebd8dab90e01394f6393fecc67ee5f287b3ee860014678880?d=identicon)[markhalliwell](/maintainers/markhalliwell)

---

Top Contributors

[![pandao](https://avatars.githubusercontent.com/u/2695717?v=4)](https://github.com/pandao "pandao (26 commits)")[![admpub](https://avatars.githubusercontent.com/u/512718?v=4)](https://github.com/admpub "admpub (3 commits)")[![kevinma2010](https://avatars.githubusercontent.com/u/2613341?v=4)](https://github.com/kevinma2010 "kevinma2010 (3 commits)")[![markhalliwell](https://avatars.githubusercontent.com/u/351902?v=4)](https://github.com/markhalliwell "markhalliwell (3 commits)")[![tylerlong](https://avatars.githubusercontent.com/u/733544?v=4)](https://github.com/tylerlong "tylerlong (2 commits)")[![luckylh](https://avatars.githubusercontent.com/u/1935890?v=4)](https://github.com/luckylh "luckylh (1 commits)")[![Yutyrannus](https://avatars.githubusercontent.com/u/15867254?v=4)](https://github.com/Yutyrannus "Yutyrannus (1 commits)")[![overtrue](https://avatars.githubusercontent.com/u/1472352?v=4)](https://github.com/overtrue "overtrue (1 commits)")[![akof1314](https://avatars.githubusercontent.com/u/2639552?v=4)](https://github.com/akof1314 "akof1314 (1 commits)")[![vikyd](https://avatars.githubusercontent.com/u/2208880?v=4)](https://github.com/vikyd "vikyd (1 commits)")[![fifsky](https://avatars.githubusercontent.com/u/280967?v=4)](https://github.com/fifsky "fifsky (1 commits)")[![xyzget](https://avatars.githubusercontent.com/u/15070728?v=4)](https://github.com/xyzget "xyzget (1 commits)")[![jeremylynch](https://avatars.githubusercontent.com/u/3665457?v=4)](https://github.com/jeremylynch "jeremylynch (1 commits)")

### Embed Badge

![Health badge](/badges/unicorn-fail-editormd/health.svg)

```
[![Health](https://phpackages.com/badges/unicorn-fail-editormd/health.svg)](https://phpackages.com/packages/unicorn-fail-editormd)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
