@@ -21,13 +21,3 @@
<script src="__PUBLIC__/editor.md/lib/jquery.flowchart.min.js"></script>
<script src="__PUBLIC__/editor.md/editormd.min.js"></script>
<script src="__PUBLIC__/js/page/index.js"></script>
-<script type="text/javascript">
- var EditormdView = editormd.markdownToHTML("page_md_content", {
- htmlDecode : "style,script,iframe", // you can filter tags decode
- emoji : true,
- taskList : true,
- tex : true, // 默认不解析
- flowChart : true, // 默认不解析
- sequenceDiagram : true, // 默认不解析
- });
-</script>
@@ -110,6 +110,10 @@ $(function() {
syncScrolling: "single",
path: DocConfig.pubile + "/editor.md/lib/",
placeholder: lang["editormd_placeholder"] ,
+ taskList : true,
+ tex : true, // 默认不解析
+ flowChart : true, // 默认不解析
+ sequenceDiagram : true, // 默认不解析
imageUpload: true,
imageFormats: ["jpg", "jpeg", "gif", "png", "bmp", "webp", "JPG", "JPEG", "GIF", "PNG", "BMP", "WEBP"],
imageUploadURL: "?s=home/page/uploadImg",
@@ -1,6 +1,15 @@
$(function(){
hljs.initHighlightingOnLoad();
+
+ var EditormdView = editormd.markdownToHTML("page_md_content", {
+ htmlDecode : "style,script,iframe", // you can filter tags decode
+ emoji : true,
+ });
//为所有table标签添加bootstap支持的表格类
$("table").addClass("table table-bordered table-hover");
@@ -5,7 +5,7 @@
"description": "ShowDoc is a tool greatly applicable for an IT team to share documents online",
"keywords": ["showdoc","documents","Api"],
"homepage": "https://github.com/star7th/showdoc",
- "version":"v1.1.0",
+ "version":"v1.1.1",
"license": "Apache-2.0",
"authors": [
{