# Editor.md
![](https://pandao.github.io/editor.md/images/logos/editormd-logo-180x180.png)
![](https://img.shields.io/github/stars/pandao/editor.md.svg)
![](https://img.shields.io/github/forks/pandao/editor.md.svg)
![](https://img.shields.io/github/tag/pandao/editor.md.svg)
![](https://img.shields.io/github/release/pandao/editor.md.svg)
![](https://img.shields.io/github/issues/pandao/editor.md.svg)
![](https://img.shields.io/bower/v/editor.md.svg)
**Editor.md** : The open source embeddable 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)](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 & fliter of the HTML tags & 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 & Sea.js) Module Loader, and Custom/define editor plugins;
[README & Examples (English)](https://pandao.github.io/editor.md/en.html)
--------
**Editor.md** 是一款开源的、可嵌入的 Markdown 在线编辑器(组件),基于 CodeMirror、jQuery 和 Marked 构建。
![editormd-screenshot](https://pandao.github.io/editor.md/examples/images/editormd-screenshot.png "editormd-screenshot")
#### 主要特性
- 支持通用 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) & [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 等平板设备;
#### Download & install
Download:
[Github download](https://github.com/pandao/editor.md/archive/master.zip)
NPM install :
```bash
npm install editor.md
```
Bower install :
```bash
bower install editor.md
```
#### Usages
##### Create a Markdown editor
```html
<link rel="stylesheet" href="editor.md/css/editormd.min.css" />
<div id="editor">
<!-- Tips: Editor.md can auto append a `<textarea>` tag -->
<textarea style="display:none;">### Hello Editor.md !</textarea>
</div>
<script src="jquery.min.js"></script>
<script src="editor.md/editormd.min.js"></script>
<script type="text/javascript">
$(function() {
var editor = editormd("editor", {
// width: "100%",
// height: "100%",
// markdown: "xxxx", // dynamic set Markdown text
path : "editor.md/lib/" // Autoload modules mode, codemirror, marked... dependents libs path
});
});
</script>
```
If you 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)
##### Markdown to HTML
```html
<link rel="stylesheet" href="editormd/css/editormd.preview.css" />
<div id="test-markdown-view">
<!-- Server-side output Markdown text -->
<textarea style="display:none;">### Hello world!</textarea>
</div>
<script src="jquery.min.js"></script>
<script src="editormd/editormd.js"></script>
<script src="editormd/lib/marked.min.js"></script>
<script src="editormd/lib/prettify.min.js"></script>
<script type="text/javascript">
$(function() {
var testView = editormd.markdownToHTML("test-markdown-view", {
// markdown : "[TOC]\n### Hello world!\n## Heading 2", // Also, you can dynamic set Markdown text
// htmlDecode : true, // Enable / disable HTML tag encode.
// htmlDecode : "style,script,iframe", // Note: If enabled, you should filter some dangerous HTML tags for website security.
});
});
</script>
```
> See the full example: [http://editor.md.ipandao.com/examples/html-preview-markdown-to-html.html](http://editor.md.ipandao.com/examples/html-preview-markdown-to-html.html)
##### HTML to Markdown?
Sorry, Editor.md not support HTML to Markdown parsing, Maybe In the future.
#### Examples
[https://pandao.github.io/editor.md/examples/index.html](https://pandao.github.io/editor.md/examples/index.html)
#### Options
Editor.md options and default values:
```javascript
{
mode : "gfm", // gfm or markdown
name : "", // Form element name for post
value : "", // value for CodeMirror, if mode not gfm/markdown
theme : "", // Editor.md self themes, before v1.5.0 is CodeMirror theme, default empty
editorTheme : "default", // Editor area, this is CodeMirror theme at v1.5.0
previewTheme : "", // Preview area theme, default empty
markdown : "", // Markdown source code
appendMarkdown : "", // if in init textarea value not empty, append markdown to textarea
width : "100%",
height : "100%",
path : "./lib/", // Dependents module file directory
pluginPath : "", // If this empty, default use settings.path + "../plugins/"
delay : 300, // Delay parse markdown to html, Uint : ms
autoLoadModules : true, // Automatic load dependent module files
watch : true,
placeholder : "Enjoy Markdown! coding now...",
gotoLine : true, // Enable / disable goto a line
codeFold : false,
autoHeight : false,
autoFocus : true, // Enable / disable auto focus editor left input area
autoCloseTags : true,
searchReplace : true, // Enable / disable (CodeMirror) search and replace function
sy
没有合适的资源?快使用搜索试试~ 我知道了~
PHP期末课程设计(mysql)-个人博客系统.rar
共2000个文件
js:277个
html:160个
css:73个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 160 浏览量
2024-06-13
11:54:11
上传
评论
收藏 33.03MB RAR 举报
温馨提示
使用技术:PHP + mysql(含代码和报告) 主要内容:使用PHP动态网站技术和Mysql实现的 适用人群:需要用来学习使用和提交期末作业的学生。 拿来即用,只需对课程报告学号姓名等信息稍作修改即可,代码不用做任何修改。
资源推荐
资源详情
资源评论
收起资源包目录
PHP期末课程设计(mysql)-个人博客系统.rar (2000个子文件)
004d662f7b7679ee0de30d04405df693e2b881 37KB
004d8076ed9a060fdba4ff717f893d4d81d76a 279B
004e2ead04f570b01aa9c0723a27117b182838 6KB
006ac73c07c6453fa174e325f677b113458244 115B
007103b0bd410bfd23be425d6654b0aa3eeb16 3KB
0099070700a9f1faf4e75e09e9c21aad199beb 6KB
01369279124e8101465c719a97d7cfc7d76d62 19KB
0147b1d234c4043f8a07294c64888461324883 2KB
014bea44f84460551b0393a7de85cd1fb84a07 6KB
0164e84e438ae269178f83a7d2a0cfb080a5c5 6KB
0177042bbb0f32a4c09cf6c7a01da642cfe2dc 85B
018603d97642555aab32c3ed11eb07cdb0db99 1KB
01d6ff8f0b8380298d77a6238188f516e5a188 6KB
01fd5f0522bc64bd55fead245085e1c35dcf71 3KB
01ffb1affb84740c4fb7eb083c607556a3959f 205B
020d40deb2036b5325ba24c453e7e7d659b0f7 24KB
02221e5da3b56dc0a14f9720d94ad4f4791050 764B
022d175dac777aacc371be6ea0b56ffd398ba8 3KB
029b623e81813f57e0cf9a98c5603d68f79a99 1KB
02d80ea9f438edffcb382df6a4a1f34a59c2f6 4KB
02dea2312d7bf2b6de68d62df400e20198cd23 7KB
03b6aa2c8cfd5ec463e8739ef0cf44bb693d7f 87B
03c34f8657dd617dfdf4ade5f2491a4f2f1534 435B
03f40a931aa79cad2f9f5f72d768fe2ed53561 7KB
03f717f31eb58d5878cb89c16a810ec4cff914 6KB
04049309c60ff5cd4772f8aa55389847d8cad3 7KB
042aebeb589162683b4eb8976acc2e4a3c21e7 4KB
044e78935a95143d9139503ca5efff1927603b 5KB
04729a205cb886ae83867989d2e8e1374c52b9 64B
04cf0f04af5a0056af7949ed6cd06288f1d085 8KB
04d96259b617c5a9ce38685443e58361d8872d 626B
05193c7230a1afb38e044581c795cae37f69e0 2KB
05787b0ed50db71ebd4f8a7f85d106721ff258 22KB
057eea8d89797979a0309f2f54f509b7ebc1f6 83B
0587e2ad1c124865eebf27b986c6ce3711bfde 386B
05ac46c3326054c0f6cdcac851e0a06e388b54 8KB
05f0af14c005a94174e4f1daf09dfdd1c711b8 264B
062dd2eeb0c3c79d33601f437cb135617268e7 4KB
06713a5cf6015452fdee79ea44f3e82f3ff5c7 86B
067a9354608a3580e0f3ed810d6dce95fd57b1 2KB
06860dcbdb2bd48dc9bdd2657a912a255de179 745B
06a2b932c55f7bf77168af46dba3c2baa3ba8e 5KB
06ba4032a549e9cb95ecb0b8767be3454d40bc 1KB
06bc2d2e9952ce378eb263426681069c84d4e7 277B
06cc909f35f5fc9ecd5722cb197d03f1e9f1c7 4KB
06d54384546727aa899759f00b9a8a1f3d57ff 366KB
06f63284d30ec080e97de16446ce4be86beeae 744B
071065a2eab616faf51d32bb6a2b6f22cda494 677B
078a6829249b1f356e3f40df5d701aa42e373d 348B
07c6b9ea5beb5b036c498ef4516bc4de7dacbc 5KB
07cb6757565f0561b470f63a0d2a101fcb50f4 5KB
082b7f4849ec037e28531024e41b567659754f 88B
084fbd14a526588f3b2aa37d6f99ec7162e256 264B
08cdff59c9bcf2223ff17b6813726d058785c7 730B
0980f48e35c8ea3691a8c267ffc897f03ff5a6 407B
099f21ffe1046dbf70e62f101764cba29d35ac 7KB
09c64de7e1036c03827a24b28d346691d460af 5KB
09d14ac114dba4a03ea41dc6b0b9539a7620ac 2KB
09d2b9d686a64466b2b41bcad5d78a1976c759 643B
0a2f06263fa99a8553765a6bfbb8a9a86a5597 4KB
0a3c022c2a84ae953f7bd99a01433ea3b4c97b 2KB
0a8fd1e039df64051ed45576b073124ed6d5b1 681B
0aac9ec75882d20fbac391299d805c57f35c54 3KB
0b00906cbbebee29652360a824d547344de74e 91B
0b0cfdad1ca4d627d0ecbff9aaaec706e08a54 8KB
0b2fe948d217c3b1cea75dc9b22eb39431b5ad 957B
0b382c22b20af966fbb889b93aa63a2e04d4cd 6KB
0bbe0f8b17258dfaff9e0b2c3303c6b5294730 721B
0be01650ed17340c4bfcdcf4ff82b4df5256a4 5KB
0c3d4240dfab15e4ff4cc359769e61320d2d4f 1KB
0c4ecb885c4c28c9f67a98d6bfea6d33affc01 4KB
0c531b9e23171ca25cd30971ba06e28a3d7c74 2KB
0c6d8f3040d3a108adceb6d1d877d50a270319 84B
0c96895f7eb489a5ce2521302ebf20b59372e2 5KB
0cb232286d1b1fa0a5f0d6b77cbcc468311e9b 4KB
0cb621b62edf8602b8541cfd4a31f544e9e910 462B
0cc7696f2a18eb61779863153639c39d37b40c 3KB
0cee888e8b68cb3964f00d40fc70da79a45b08 223B
0d20e48b6ec00123333e91654bc104b0c43312 4KB
0d265e9d7b855710b7f31294ae4446bfd47caa 1KB
0d37012a6e41e0711d7a538334560b226007a6 3KB
0d3ab640757428e2840ae089f84fe1dea4e4ef 5KB
0da98eefb62466bb45482d4b76310c09f035c7 302B
0eb2d5180a2c8965a1e10b1980c6153e8a9ffc 3KB
0f7b779b80d1878de878564c5ad40d39e801a6 88B
0f8f5f95f48fbad932cf135b1522868fb4d547 5KB
0f95d3978364949feeb1fc99ea4a1d1da9f9cc 86B
0f9b4cffcc103ebab25b6bd51e9f10991d4960 64B
0fa28464f78acbe97155cbf199c439ad70f3b1 85B
1021c42bff4296c86a6c75c743878941811673 839B
102e6f224ee29aab3ad50cbc89eb8190095ad3 1KB
104c0e9cd55f67d2099f1da6ba7f7e9eddd9b6 4KB
1081c17784ead2520ea5214664997afec38702 3KB
10b4f8aaf6fd55b0cd1099812bf35897f76cae 3KB
10b7c05924734cbc66df6b31797615615efdb4 1KB
10bd91b2100b01c0d7d7051640e8dc66fe002c 192B
10e34ff524ac5707281b37f031e689f399f4f5 19KB
113b6929b42158d5e5d7cc0cbedef74334b219 4KB
117ec22f250eb64c0e68688ca8c8c066fce2e7 948B
118b5b1849619bb65488eb3ed219e3f77fa0d3 5KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
爱吃雪糕的小布丁
- 粉丝: 1w+
- 资源: 221
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- T型3电平逆变器,lcl滤波器滤波器参数计算,半导体损耗计算,逆变电感参数设计损耗计算 mathcad格式输出,方便修改 同时支持plecs损耗仿真,基于plecs的闭环仿真,电压外环,电流内环
- 毒舌(解锁版).apk
- 显示HEX、S19、Bin、VBF等其他汽车制造商特定的文件格式
- 8bit逐次逼近型SAR ADC电路设计成品 入门时期的第三款sarADC,适合新手学习等 包括电路文件和详细设计文档 smic0.18工艺,单端结构,3.3V供电 整体采样率500k,可实现基
- 操作系统实验 ucorelab4内核线程管理
- 脉冲注入法,持续注入,启动低速运行过程中注入,电感法,ipd,力矩保持,无霍尔无感方案,媲美有霍尔效果 bldc控制器方案,无刷电机 提供源码,原理图
- Matlab Simulink#直驱永磁风电机组并网仿真模型 基于永磁直驱式风机并网仿真模型 采用背靠背双PWM变流器,先整流,再逆变 不仅实现电机侧的有功、无功功率的解耦控制和转速调节,而且能实
- 157389节奏盒子地狱模式第三阶段7.apk
- 操作系统实验ucore lab3
- DG储能选址定容模型matlab 程序采用改进粒子群算法,考虑时序性得到分布式和储能的选址定容模型,程序运行可靠 这段程序是一个改进的粒子群算法,主要用于解决电力系统中的优化问题 下面我将对程序进行详
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功