{"id":19757490,"url":"https://github.com/stavinli/inner_markdown","last_synced_at":"2025-08-22T06:38:11.443Z","repository":{"id":112256497,"uuid":"153207249","full_name":"StavinLi/inner_markdown","owner":"StavinLi","description":"html 内嵌markdown编辑器","archived":false,"fork":false,"pushed_at":"2018-10-16T01:59:56.000Z","size":6350,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-10T22:44:56.075Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StavinLi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGE.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-16T01:58:23.000Z","updated_at":"2018-10-16T01:59:59.000Z","dependencies_parsed_at":"2023-05-11T23:30:39.774Z","dependency_job_id":null,"html_url":"https://github.com/StavinLi/inner_markdown","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StavinLi%2Finner_markdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StavinLi%2Finner_markdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StavinLi%2Finner_markdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StavinLi%2Finner_markdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StavinLi","download_url":"https://codeload.github.com/StavinLi/inner_markdown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241089251,"owners_count":19907714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T03:19:32.862Z","updated_at":"2025-02-28T02:23:19.170Z","avatar_url":"https://github.com/StavinLi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Editor.md\n\n![](https://pandao.github.io/editor.md/images/logos/editormd-logo-180x180.png)\n\n![](https://img.shields.io/github/stars/pandao/editor.md.svg)\n![](https://img.shields.io/github/forks/pandao/editor.md.svg)\n![](https://img.shields.io/github/tag/pandao/editor.md.svg)\n![](https://img.shields.io/github/release/pandao/editor.md.svg)\n![](https://img.shields.io/github/issues/pandao/editor.md.svg)\n![](https://img.shields.io/bower/v/editor.md.svg)\n\n**Editor.md** : The open source embeddable online markdown editor (component), based on CodeMirror \u0026 jQuery \u0026 Marked.\n\n### Features\n\n- Support Standard Markdown / CommonMark and GFM (GitHub Flavored Markdown);\n- 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...;\n- 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)...;\n- Compatible with all major browsers (IE8+), compatible Zepto.js and iPad;\n- Support [decode \u0026 fliter of the HTML tags \u0026 attributes](https://pandao.github.io/editor.md/examples/html-tags-decode.html);\n- 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;\n- Support AMD/CMD (Require.js \u0026 Sea.js) Module Loader, and Custom/define editor plugins;\n\n[README \u0026 Examples (English)](https://pandao.github.io/editor.md/en.html)\n  \n\n--------\n\n**Editor.md** 是一款开源的、可嵌入的 Markdown 在线编辑器（组件），基于 CodeMirror、jQuery 和 Marked 构建。\n\n![editormd-screenshot](https://pandao.github.io/editor.md/examples/images/editormd-screenshot.png \"editormd-screenshot\")\n\n#### 主要特性\n\n- 支持通用 Markdown / CommonMark 和 GFM (GitHub Flavored Markdown) 风格的语法，也可[变身为代码编辑器](https://pandao.github.io/editor.md/examples/change-mode.html)；\n- 支持实时预览、图片（跨域）上传、预格式文本/代码/表格插入、代码折叠、跳转到行、搜索替换、只读模式、自定义样式主题和多语言语法高亮等功能；\n- 支持 [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 扩展语法；\n- 支持 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);\n- 支持[识别和解析 HTML 标签，并且支持自定义过滤标签及属性解析](https://pandao.github.io/editor.md/examples/html-tags-decode.html)，具有可靠的安全性和几乎无限的扩展性；\n- 支持 AMD / CMD 模块化加载（支持 [Require.js](https://pandao.github.io/editor.md/examples/use-requirejs.html) \u0026 [Sea.js](https://pandao.github.io/editor.md/examples/use-seajs.html)），并且支持[自定义扩展插件](https://pandao.github.io/editor.md/examples/define-plugin.html)；\n- 兼容主流的浏览器（IE8+）和 [Zepto.js](https://pandao.github.io/editor.md/examples/use-zepto.html)，且支持 iPad 等平板设备；\n\n#### Examples\n\n[https://pandao.github.io/editor.md/examples/index.html](https://pandao.github.io/editor.md/examples/index.html)\n\n#### Download \u0026 install\n\n[Github download](https://github.com/pandao/editor.md/archive/master.zip)\n\nBower install :\n\n```shell\nbower install editor.md\n```\n\n#### Usages\n\nHTML：\n\n```html\n\u003clink rel=\"stylesheet\" href=\"editormd.min.css\" /\u003e\n\u003cdiv id=\"editormd\"\u003e\n    \u003ctextarea style=\"display:none;\"\u003e### Hello Editor.md !\u003c/textarea\u003e\n\u003c/div\u003e\n```\n\n\u003e Tip: Editor.md can auto append `\u003ctextarea\u003e` tag;\n\njavascript:\n\n```html\n\u003cscript src=\"jquery.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"editormd.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\"\u003e\n    $(function() {\n        var editor = editormd(\"editormd\", {\n            path : \"../lib/\" // Autoload modules mode, codemirror, marked... dependents libs path\n        });\n\n        /*\n        // or\n        var editor = editormd({\n            id   : \"editormd\",\n            path : \"../lib/\"\n        });\n        */\n    });\n\u003c/script\u003e\n```\n\nUsing modular script loader :\n\n- [Using Require.js](https://github.com/pandao/editor.md/tree/master/examples/use-requirejs.html)\n- [Using Sea.js](https://github.com/pandao/editor.md/tree/master/examples/use-seajs.html)\n\n#### Dependents\n\n- [CodeMirror](http://codemirror.net/ \"CodeMirror\")\n- [marked](https://github.com/chjj/marked \"marked\")\n- [jQuery](http://jquery.com/ \"jQuery\")\n- [FontAwesome](http://fontawesome.io/ \"FontAwesome\")\n- [github-markdown.css](https://github.com/sindresorhus/github-markdown-css \"github-markdown.css\")\n- [KaTeX](http://khan.github.io/KaTeX/ \"KaTeX\")\n- [prettify.js](http://code.google.com/p/google-code-prettify/ \"prettify.js\")\n- [Rephael.js](http://raphaeljs.com/ \"Rephael.js\")\n- [flowchart.js](http://adrai.github.io/flowchart.js/ \"flowchart.js\")\n- [sequence-diagram.js](http://bramp.github.io/js-sequence-diagrams/ \"sequence-diagram.js\")\n- [Prefixes.scss](https://github.com/pandao/prefixes.scss \"Prefixes.scss\")\n\n#### Changes\n\n[Change logs](https://github.com/pandao/editor.md/blob/master/CHANGE.md)\n\n#### License\n\nThe MIT License.\n\nCopyright (c) 2015 Pandao\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstavinli%2Finner_markdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstavinli%2Finner_markdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstavinli%2Finner_markdown/lists"}