# 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
没有合适的资源?快使用搜索试试~ 我知道了~
Java项目:大学生实习管理系统(java+SpringBoot+Thymeleaf+html+JQuery+bootstrap
共2557个文件
png:933个
java:332个
html:329个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 2 下载量 201 浏览量
2022-05-07
10:20:52
上传
评论 1
收藏 10.89MB RAR 举报
温馨提示
项目介绍 本系统的用户可以分为三种:管理员、教师、学生。三种角色登录后会有不同菜单界面; 管理员主要功能: 信息管理 学生信息管理、教师信息管理、生产实习信息管理、顶岗实习信息管理; 生产实习 生产实习申请、我的生产实习、我的成绩、我的申请 顶岗实习 顶岗实习申请、我的顶岗实习、我的成绩、我的申请 实习管理 生产实习管理 生产实习过程管理 生产实习成绩统计 顶岗实习审核 顶岗实习过程管理 顶岗实习成绩统计 分享 系统管理 用户管理 菜单管理 角色信息管理 教师主要功能: 信息管理 学生信息管理; 实习管理 生产实习审核 生产实习过程管理 生产实习成绩统计 顶岗实习审核 顶岗实习过程管理 顶岗实习成绩统计 分享 信息审核; 我的分享、讨论区; 学生主要功能: 生产实习: 生产实习申请; 我的生产实习; 我的成绩; 我的申请; 顶岗实习: 顶岗实习申请; 我的顶岗实习; 我的成绩; 我的申请; 分享: 我的分享; 讨论区; 环境需要 1.运行环境:最好是java jdk 1.8,我们在这个平台上运行的。其他版本理论上也可以。 2.IDE环境:IDEA,Eclipse,Mye
资源推荐
资源详情
资源评论
收起资源包目录
Java项目:大学生实习管理系统(java+SpringBoot+Thymeleaf+html+JQuery+bootstrap (2557个子文件)
AUTHORS 6KB
run.bat 218B
package.bat 141B
clean.bat 92B
ExcelUtil.class 24KB
Convert.class 13KB
JSONObject.class 12KB
ShiroConfig.class 11KB
SysUserServiceImpl.class 11KB
SysMenuServiceImpl.class 11KB
ReflectUtils.class 10KB
GenTableServiceImpl.class 10KB
VelocityUtils.class 9KB
SysRoleServiceImpl.class 9KB
HttpUtils.class 8KB
SysUser.class 8KB
Server.class 8KB
GenController.class 7KB
GenTableColumn.class 7KB
SysDeptServiceImpl.class 7KB
StudentServiceImpl.class 7KB
LogAspect.class 6KB
KickoutSessionFilter.class 6KB
SysOperLog.class 6KB
MyProdServiceImpl.class 6KB
OnlineWebSessionManager.class 6KB
GenTable.class 6KB
FileUploadUtils.class 6KB
UserRealm.class 6KB
SysJobServiceImpl.class 6KB
MyBatisConfig.class 6KB
WorkAuditServiceImpl.class 6KB
SysJobController.class 5KB
GenUtils.class 5KB
StringUtils.class 5KB
JobInvokeUtil.class 5KB
SysLoginService.class 5KB
SysDictTypeServiceImpl.class 5KB
WorkTeaAuditServiceImpl.class 5KB
ScheduleUtils.class 5KB
ProdAuditServiceImpl.class 5KB
SysRole.class 5KB
SacServiceImpl.class 5KB
SysMenu.class 5KB
SysJob.class 5KB
SysDictData.class 5KB
DataScopeAspect.class 5KB
PermissionService.class 5KB
WorkApplyServiceImpl.class 4KB
BaseController.class 4KB
SysPostServiceImpl.class 4KB
GlobalExceptionHandler.class 4KB
SysDept.class 4KB
DruidConfig.class 4KB
LogUtils.class 4KB
JSON.class 4KB
MyTalkServiceImpl.class 4KB
LogoutFilter.class 4KB
SysJobLogController.class 4KB
SysPasswordService.class 4KB
Production.class 4KB
SpringSessionValidationScheduler.class 4KB
StuAndWork.class 4KB
AbstractQuartzJob.class 4KB
OnlineSessionFilter.class 4KB
DateUtils.class 4KB
SysUserOnline.class 4KB
SysLogininfor.class 4KB
YamlUtil.class 4KB
IpUtils.class 4KB
XssFilter.class 3KB
SysPost.class 3KB
ShiroUtils.class 3KB
PermissionUtils.class 3KB
SysConfig.class 3KB
ServletUtils.class 3KB
SysJobLog.class 3KB
OnlineSessionDAO.class 3KB
SameUrlDataInterceptor.class 3KB
ResourcesConfig.class 3KB
Work.class 3KB
TeacherServiceImpl.class 3KB
ProdApplyServiceImpl.class 3KB
SysDictType.class 3KB
AsyncFactory$3.class 3KB
SysConfigServiceImpl.class 3KB
FileUtils.class 3KB
SysUserOnlineServiceImpl.class 3KB
MyWorkServiceImpl.class 3KB
CaptchaValidateFilter.class 3KB
OnlineSession.class 3KB
EscapeUtil.class 3KB
DataSourceAspect.class 3KB
WorkWeek.class 3KB
ProdWeek.class 3KB
Course.class 3KB
CommentServiceImpl.class 3KB
BeanUtils.class 3KB
CourseServiceImpl.class 3KB
SysNotice.class 3KB
共 2557 条
- 1
- 2
- 3
- 4
- 5
- 6
- 26
资源评论
- IT教程资源2022-09-28资源内容详实,描述详尽,解决了我的问题,受益匪浅,学到了。
- 升龙1232022-07-17这个资源对我启发很大,受益匪浅,学到了很多,谢谢分享~
beyondwild
- 粉丝: 9294
- 资源: 4903
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功