hdjs
Version:
hdjs framework
135 lines (103 loc) • 4.95 kB
HTML
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8" />
<title> - Editor.md examples</title>
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="../css/editormd.css" />
<link rel="shortcut icon" href="https://pandao.github.io/editor.md/favicon.ico" type="image/x-icon" />
</head>
<body>
<div id="layout">
<header>
<h1> </h1>
<p>Github Flavored Markdown extras syntax</p>
</header>
<div id="test-editormd">
<textarea style="display:none;">### Disable & email address auto link
> Editor.md default enable & email address auto link;
> Unsupported xxxx@xxxxx, xxxx@localhost ...
```javascript
var testEditor;
$(function() {
// You can custom @link base url.
editormd.urls.atLinkBase = "https://github.com/";
testEditor = editormd("test-editormd", {
atLink : false, // disable @link
emailLink : false, // disable email address auto link
path : '../lib/'
});
});
```
###
[TOC]
~~ ~~, #refs `inline code `, [links](), **formatting**, and <del>tags</del> supported ;
list syntax required (any unordered or ordered list supported) ;
this is a complete item xxx.test@gmail.com;
link [ ](https://github.com/pandao "@pandao") @ xxx.test@gmail.com;
link [@pandao](https://github.com/pandao "@pandao")
fsdafds [Gmail](mailto:xxx.test@gmail.com) this is an incomplete item ** **;
* * this is an incomplete item ___@pandao___;
<xxx.test@gmail.com>
<mailto:xxx.test@gmail.com>
Email test : [email me](mailto:test@test.com) [Gmail](mailto:xxx.test@gmail.com) dsfdfsdfsdfsdf xxx.test@gmail.com fdfsdfsdf 5956565656565 .qq.com
# Github:
## Github:
### Github:
#### Github:
##### Github:
###### Github: [Gmail](mailto:xxx.test@gmail.com)
- dafssdfsdaf@chjj dfsdfsdf [5956565656565 .qq.com](mailto:5956565656565 .qq.com)
- dafssdfsdaf@chjj dfsdfsdf
- dafssdfsdaf@chjj dfsdfsdf
- dafss@pandao dfsdaf@chjj dfsdfsdf
- dafssd: fsdaf@chjj dfsdfsdf
+ dafssdfsdaf@chjj dfsdfsdf
+ dafss@pandaodfsdaf@chjj dfsdfsdf
1. 第一行 fsdaf@chjj dfsdfsdf :fa-save::
- dafssdfsdaf@chjj dfsdfsdf
- dafss@pandao dfsdaf@chjj dfsdfsdf
2. 第二行 fsdaf@chjj dfsdfsdf
3. 第三行 fsdaf@chjj dfsdfsdf :fa-save::
> Blockquotes
> dd@pandao引用文本(Blockquotes )fdasfad fdasfad fdasfad
| First Header | Second@pandao Header@pandao |
| ------------- | ------------- |
| Content@pandao Cell | Content Cell |
| Con@pandao tent Cell@pandao | Content@pan-dao Cell dfsdfsdf |
dsfdf@pandao fasdfsdfsfddffd@pandao
dfasfasdfasdf:bangbang:
This is an H1
=============
This an H2
-------------
http://socialpro.demo.ipandao.com/app/images/welcom-logo@2x.png
http://socialpro.demo.ipandao.com/app/images/welcom-logo@3x.png
http://socialpro.demo.ipandao.com/app/images/welcom-logo@4x.png
[](http://socialpro.demo.ipandao.com/app/images/welcom-logo@2x.png)
[http://socialpro.demo.ipandao.com/app/images/welcom-logo@2x.png](http://socialpro.demo.ipandao.com/app/images/welcom-logo@2x.png)
[http://socialpro.demo.ipandao.com/app/images/welcom-logo@3x.png](http://socialpro.demo.ipandao.com/app/images/welcom-logo@3x.png)

</textarea>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="../editormd.js"></script>
<script type="text/javascript">
var testEditor;
$(function() {
// You can custom @link base url.
editormd.urls.atLinkBase = "https://github.com/";
testEditor = editormd("test-editormd", {
width : "90%",
height : 720,
toc : true,
//atLink : false, // disable @link
//emailLink : false, // disable email address auto link
todoList : true,
path : '../lib/'
});
});
</script>
</body>
</html>