diff --git a/README.md b/README.md index 28f334e..a5b28b6 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,9 @@ javascript: - [jQuery](http://jquery.com/ "jQuery") - [FontAwesome](http://fontawesome.io/ "FontAwesome") - [github-markdown.css](https://github.com/sindresorhus/github-markdown-css "github-markdown.css") +- [KaTeX](http://khan.github.io/KaTeX/ "KaTeX") - [prettify.js](http://code.google.com/p/google-code-prettify/ "prettify.js") +- [Rephael.js](http://raphaeljs.com/ "Rephael.js") - [flowchart.js](http://adrai.github.io/flowchart.js/ "flowchart.js") - [sequence-diagram.js](http://bramp.github.io/js-sequence-diagrams/ "sequence-diagram.js") diff --git a/dist/css/editormd.css b/dist/css/editormd.css index 69aadda..e49bf2c 100644 --- a/dist/css/editormd.css +++ b/dist/css/editormd.css @@ -6,7 +6,7 @@ * @license MIT License * @author Pandao * {@link https://github.com/pandao/editor.md} - * @updateTime 2015-02-09 + * @updateTime 2015-02-10 */ /*! diff --git a/dist/css/editormd.css.map b/dist/css/editormd.css.map index 2ba7006..fa61615 100644 --- a/dist/css/editormd.css.map +++ b/dist/css/editormd.css.map @@ -6,7 +6,7 @@ * @license MIT License * @author Pandao * {@link https://github.com/pandao/editor.md} - * @updateTime 2015-02-09 + * @updateTime 2015-02-10 */ { diff --git a/dist/css/editormd.css.min.map b/dist/css/editormd.css.min.map index d70b91b..d5df003 100644 --- a/dist/css/editormd.css.min.map +++ b/dist/css/editormd.css.min.map @@ -1,2 +1,2 @@ -/*! Editor.md v1.0.0 | editormd.css.min.map | A simple online markdown editor. | MIT License | By: Pandao | https://github.com/pandao/editor.md | 2015-02-09 */ +/*! Editor.md v1.0.0 | editormd.css.min.map | A simple online markdown editor. | MIT License | By: Pandao | https://github.com/pandao/editor.md | 2015-02-10 */ {"version":3,"mappings":";;;;;;AAMA,UAMC;EALC,WAAW,EAAE,aAAa;EAC1B,GAAG,EAAE,+CAA+C;EACpD,GAAG,EAAE,4WAAkF;EACvF,WAAW,EAAE,MAAM;EACnB,UA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AAE,KAAK;;AAEnB,qFAAK;EACD,MAAM,EAAE,IAAI;EACZ,UAAU,EAAC,IAAI;EACf,OAAO,EAAE,CAAC;;AAIlB,sgBAAuD;EACnD,eAAe,EAAE,OAAO","sources"["file:///D:/APMServ/www/htdocs/editor.md/src/scss/font-awesome.scss","../editormd.scss","file:///D:/APMServ/www/htdocs/editor.md/src/scss/lib/functions.scss","file:///D:/APMServ/www/htdocs/editor.md/src/scss/editormd.menu.scss","file:///D:/APMServ/www/htdocs/editor.md/src/scss/editormd.dialog.scss","file:///D:/APMServ/www/htdocs/editor.md/src/scss/editormd.codemirror.scss","file:///D:/APMServ/www/htdocs/editor.md/src/scss/github-markdown.scss","file:///D:/APMServ/www/htdocs/editor.md/src/scss/editormd.preview.scss","file:///D:/APMServ/www/htdocs/editor.md/src/scss/prettify.scss"],"names"[],"file":"editormd.css"} \ No newline at end of file diff --git a/dist/css/editormd.min.css b/dist/css/editormd.min.css index e2fa14b..6fb6cb3 100644 --- a/dist/css/editormd.min.css +++ b/dist/css/editormd.min.css @@ -1,4 +1,4 @@ -/*! Editor.md v1.0.0 | editormd.min.css | A simple online markdown editor. | MIT License | By: Pandao | https://github.com/pandao/editor.md | 2015-02-09 */ +/*! Editor.md v1.0.0 | editormd.min.css | A simple online markdown editor. | MIT License | By: Pandao | https://github.com/pandao/editor.md | 2015-02-10 */ /*! * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) diff --git a/dist/css/editormd.preview.css b/dist/css/editormd.preview.css index d626add..db9f708 100644 --- a/dist/css/editormd.preview.css +++ b/dist/css/editormd.preview.css @@ -6,7 +6,7 @@ * @license MIT License * @author Pandao * {@link https://github.com/pandao/editor.md} - * @updateTime 2015-02-09 + * @updateTime 2015-02-10 */ /*! github-markdown-css | The MIT License (MIT) | Copyright (c) Sindre Sorhus (sindresorhus.com) | https://github.com/sindresorhus/github-markdown-css */ diff --git a/dist/css/editormd.preview.css.map b/dist/css/editormd.preview.css.map index aa79a08..07a591b 100644 --- a/dist/css/editormd.preview.css.map +++ b/dist/css/editormd.preview.css.map @@ -6,7 +6,7 @@ * @license MIT License * @author Pandao * {@link https://github.com/pandao/editor.md} - * @updateTime 2015-02-09 + * @updateTime 2015-02-10 */ { diff --git a/dist/css/editormd.preview.css.min.map b/dist/css/editormd.preview.css.min.map index 6882b0a..9cec36f 100644 --- a/dist/css/editormd.preview.css.min.map +++ b/dist/css/editormd.preview.css.min.map @@ -1,2 +1,2 @@ -/*! Editor.md v1.0.0 | editormd.preview.css.min.map | A simple online markdown editor. | MIT License | By: Pandao | https://github.com/pandao/editor.md | 2015-02-09 */ +/*! Editor.md v1.0.0 | editormd.preview.css.min.map | A simple online markdown editor. | MIT License | By: Pandao | https://github.com/pandao/editor.md | 2015-02-10 */ {"version":3,"mappings":";AAGA,UAGC;EAFC,WAAW,EAAE,eAAe;EAC5B,GAAG,EAAE,gmEAAgmE;;AAGvmE,cAAe;EACb,oBAAoB,EAAE,IAAI;EAC1B,wBAAwB,EAAE,IAAI;EAC9B,KAAK,EAAE,IAAI;EACX,QAAQ,EAAE,MAAM;EAChB,WAAW,EAAE,oEAAoE;EACjF,SAAS,EAAE,IAAI;EACf,WAAW,EAAE,GAAG;EAChB,SAAS,EAAE,UAAU;;;AAGvB,gBAAiB;EACf,UAAU,EAAE,WAAW;;;AAGzB;sBACuB;EACrB,OAAO,EAAE,CAAC;;;AAGZ,qBAAsB;EACpB,WAAW,EAAE,IAAI;;;AAGnB,iBAAkB;EAChB,SAAS,EAAE,GAAG;EACd,MAAM,EAAE,QAAQ;;;AAGlB,kBAAmB;EACjB,MAAM,EAAE,CAAC;;;AAGX,iBAAkB;EAChB,eAAe,EAAE,WAAW;EAC5B,UAAU,EAAE,WAAW;EACvB,MAAM,EAAE,CAAC;;;AAGX,kBAAmB;EACjB,QAAQ,EAAE,IAAI;;;AAGhB;;kBAEmB;EACjB,WAAW,EAAE,oBAAoB;E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markdown.scss","../editormd.preview.scss","file:///D:/APMServ/www/htdocs/editor.md/src/scss/lib/functions.scss","file:///D:/APMServ/www/htdocs/editor.md/src/scss/prettify.scss"],"names"[],"file":"editormd.preview.css"} \ No newline at end of file diff --git a/dist/css/editormd.preview.min.css b/dist/css/editormd.preview.min.css index 45f36d8..797761c 100644 --- a/dist/css/editormd.preview.min.css +++ b/dist/css/editormd.preview.min.css @@ -1,2 +1,2 @@ -/*! Editor.md v1.0.0 | editormd.preview.min.css | A simple online markdown editor. | MIT License | By: Pandao | https://github.com/pandao/editor.md | 2015-02-09 */ +/*! Editor.md v1.0.0 | editormd.preview.min.css | A simple online markdown editor. | MIT License | By: Pandao | https://github.com/pandao/editor.md | 2015-02-10 */ /*! github-markdown-css | The MIT License (MIT) | Copyright (c) Sindre Sorhus (sindresorhus.com) | https://github.com/sindresorhus/github-markdown-css */@font-face{font-family:octicons-anchor;src:url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAYcAA0AAAAACjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABwAAAAca8vGTk9TLzIAAAFMAAAARAAAAFZG1VHVY21hcAAAAZAAAAA+AAABQgAP9AdjdnQgAAAB0AAAAAQAAAAEACICiGdhc3AAAAHUAAAACAAAAAj//wADZ2x5ZgAAAdwAAADRAAABEKyikaNoZWFkAAACsAAAAC0AAAA2AtXoA2hoZWEAAALgAAAAHAAAACQHngNFaG10eAAAAvwAAAAQAAAAEAwAACJsb2NhAAADDAAAAAoAAAAKALIAVG1heHAAAAMYAAAAHwAAACABEAB2bmFtZQAAAzgAAALBAAAFu3I9x/Nwb3N0AAAF/AAAAB0AAAAvaoFvbwAAAAEAAAAAzBdyYwAAAADP2IQvAAAAAM/bz7t4nGNgZGFgnMDAysDB1Ml0hoGBoR9CM75mMGLkYGBgYmBlZsAKAtJcUxgcPsR8iGF2+O/AEMPsznAYKMwIkgMA5REMOXicY2BgYGaAYBkGRgYQsAHyGMF8FgYFIM0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5K3nFGiOqgtmSB5pJVSizwaacmUZzZhXLlZTq8qGGFY2YcSkqbth6aW1tRmlaCFs2016m5qn36SbJrqosG4uMV4aP2PHBmB3tjtmgN2izkGQyLWprekbIntJFing32a5rKWCN/SdSoga45EJykyQ7asZvHQ8PTm6cslIpwyeyjbVltNikc2HTR7YKh9LBl9DADC0U/jLcBZDKrMhUBfQBvXRzLtFtjU9eNHKin0x5InTqb8lNpfKv1s1xHzTXRqgKzek/mb7nB8RZTCDhGEX3kK/8Q75AmUM/eLkfA+0Hi908Kx4eNsMgudg5GLdRD7a84npi+YxNr5i5KIbW5izXas7cHXIMAau1OueZhfj+cOcP3P8MNIWLyYOBuxL6DRylJ4cAAAB4nGNgYoAALjDJyIAOWMCiTIxMLDmZedkABtIBygAAAA==) format("woff")}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;color:#333;overflow:hidden;font-family:"Helvetica Neue",Helvetica,"Segoe UI",Arial,freesans,sans-serif;font-size:16px;line-height:1.6;word-wrap:break-word}.markdown-body a{background:0 0}.markdown-body a:active,.markdown-body a:hover{outline:0}.markdown-body strong{font-weight:700}.markdown-body h1{margin:.67em 0}.markdown-body img{border:0}.markdown-body hr{-moz-box-sizing:content-box;box-sizing:content-box}.markdown-body input{color:inherit;margin:0}.markdown-body html input[disabled]{cursor:default}.markdown-body input{line-height:normal}.markdown-body input[type=checkbox]{-moz-box-sizing:border-box;box-sizing:border-box;padding:0}.markdown-body table{border-collapse:collapse;border-spacing:0}.markdown-body td,.markdown-body th{padding:0}.markdown-body *{-moz-box-sizing:border-box;box-sizing:border-box}.markdown-body input{font:13px/1.4 Helvetica,arial,freesans,clean,sans-serif,"Segoe UI Emoji","Segoe UI Symbol"}.markdown-body a{color:#4183c4;text-decoration:none}.markdown-body a:active,.markdown-body a:hover{text-decoration:underline}.markdown-body hr{height:0;margin:15px 0;overflow:hidden;background:0 0;border:0;border-bottom:1px solid #ddd}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body blockquote{margin:0}.markdown-body ol,.markdown-body ul{padding:0}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ol ol ol,.markdown-body ol ul ol,.markdown-body ul ol ol,.markdown-body ul ul ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body code{font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace}.markdown-body pre{font:12px Consolas,"Liberation Mono",Menlo,Courier,monospace}.markdown-body .octicon{font:normal normal 16px octicons-anchor;line-height:1;display:inline-block;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.markdown-body .octicon-link:before{content:'\f05c'}.markdown-body>:first-child{margin-top:0!important}.markdown-body>:last-child{margin-bottom:0!important}.markdown-body .anchor{position:absolute;top:0;left:0;display:block;padding-right:6px;padding-left:30px;margin-left:-30px}.markdown-body .anchor:focus{outline:0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{position:relative;margin-top:1em;margin-bottom:16px;font-weight:700;line-height:1.4}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{display:none;color:#000;vertical-align:middle}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{padding-left:8px;margin-left:-30px;text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{display:inline-block}.markdown-body h1{padding-bottom:.3em;font-size:2.25em;line-height:1.2;border-bottom:1px solid #eee}.markdown-body h1 .anchor{line-height:1}.markdown-body h2{padding-bottom:.3em;font-size:1.75em;line-height:1.225;border-bottom:1px solid #eee}.markdown-body h2 .anchor{line-height:1}.markdown-body h3{font-size:1.5em;line-height:1.43}.markdown-body h3 .anchor{line-height:1.2}.markdown-body h4{font-size:1.25em}.markdown-body h4 .anchor{line-height:1.2}.markdown-body h5{font-size:1em}.markdown-body h5 .anchor{line-height:1.1}.markdown-body h6{font-size:1em;color:#777}.markdown-body h6 .anchor{line-height:1.1}.markdown-body blockquote,.markdown-body dl,.markdown-body ol,.markdown-body p,.markdown-body pre,.markdown-body table,.markdown-body ul{margin-top:0;margin-bottom:16px}.markdown-body ol,.markdown-body ul{padding-left:2em}.markdown-body ol ol,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ul ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:700}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body blockquote{padding:0 15px;color:#777;border-left:4px solid #ddd}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all}.markdown-body table th{font-weight:700}.markdown-body table td,.markdown-body table th{padding:6px 13px;border:1px solid #ddd}.markdown-body table tr{background-color:#fff;border-top:1px solid #ccc}.markdown-body table tr:nth-child(2n){background-color:#f8f8f8}.markdown-body img{max-width:100%;-moz-box-sizing:border-box;box-sizing:border-box}.markdown-body code{padding:.2em 0;margin:0;font-size:85%;background-color:rgba(0,0,0,.04);border-radius:3px}.markdown-body code:after,.markdown-body code:before{letter-spacing:-.2em;content:"\00a0"}.markdown-body pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:0 0;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f7f7f7;border-radius:3px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body pre{word-wrap:normal}.markdown-body pre code{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body pre code:after,.markdown-body pre code:before{content:normal}.markdown-body .pl-c{color:#969896}.markdown-body .pl-c1,.markdown-body .pl-mdh,.markdown-body .pl-mm,.markdown-body .pl-mp,.markdown-body .pl-mr,.markdown-body .pl-s1 .pl-v,.markdown-body .pl-s3,.markdown-body .pl-sc,.markdown-body .pl-sv{color:#0086b3}.markdown-body .pl-e,.markdown-body .pl-en{color:#795da3}.markdown-body .pl-s1 .pl-s2,.markdown-body .pl-smi,.markdown-body .pl-smp,.markdown-body .pl-stj,.markdown-body .pl-vo,.markdown-body .pl-vpf{color:#333}.markdown-body .pl-ent{color:#63a35c}.markdown-body .pl-k,.markdown-body .pl-s,.markdown-body .pl-st{color:#a71d5d}.markdown-body .pl-pds,.markdown-body .pl-s1,.markdown-body .pl-s1 .pl-pse .pl-s2,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sra,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-src{color:#df5000}.markdown-body .pl-mo,.markdown-body .pl-v{color:#1d3e81}.markdown-body .pl-id{color:#b52a1d}.markdown-body .pl-ii{background-color:#b52a1d;color:#f8f8f8}.markdown-body .pl-sr .pl-cce{color:#63a35c;font-weight:700}.markdown-body .pl-ml{color:#693a17}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{color:#1d3e81;font-weight:700}.markdown-body .pl-mq{color:teal}.markdown-body .pl-mi{color:#333;font-style:italic}.markdown-body .pl-mb{color:#333;font-weight:700}.markdown-body .pl-md,.markdown-body .pl-mdhf{background-color:#ffecec;color:#bd2c00}.markdown-body .pl-mdht,.markdown-body .pl-mi1{background-color:#eaffea;color:#55a532}.markdown-body .pl-mdr{color:#795da3;font-weight:700}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px Consolas,"Liberation Mono",Menlo,Courier,monospace;line-height:10px;color:#555;vertical-align:middle;background-color:#fcfcfc;border:1px solid #ccc;border-bottom-color:#bbb;border-radius:3px;box-shadow:inset 0 -1px 0 #bbb}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item+.task-list-item{margin-top:3px}.markdown-body .task-list-item input{float:left;margin:.3em 0 .25em -1.6em;vertical-align:middle}.markdown-body :checked+.radio-label{z-index:1;position:relative;border-color:#4183c4}.editormd-html-preview,.editormd-preview-container{padding:20px}.editormd-html-preview blockquote,.editormd-preview-container blockquote{border-left:4px solid #ddd;padding-left:20px;margin-left:0;color:#666;font-size:14px;font-style:italic}.editormd-html-preview p>code,.editormd-preview-container p>code{margin-left:5px}.editormd-html-preview .markdown-body,.editormd-preview-container .markdown-body{line-height:1.6}.editormd-html-preview .markdown-body hr,.editormd-preview-container .markdown-body hr{height:1px;border:none;border-top:1px solid #ddd;background:0 0}.editormd-html-preview .markdown-body code,.editormd-preview-container .markdown-body code{border:1px solid #ddd;background:#f6f6f6;padding:3px;border-radius:3px;font-size:13px;font-family:Consolas,Monaco,courier,monospace}.editormd-html-preview .markdown-body pre,.editormd-preview-container .markdown-body pre{border:1px solid #ddd;background:#f6f6f6;padding:10px;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px}.editormd-html-preview .markdown-body pre code,.editormd-preview-container .markdown-body pre code{padding:0}.editormd-html-preview p.editormd-tex,.editormd-preview-container p.editormd-tex{text-align:center}.editormd-html-preview span.editormd-tex,.editormd-preview-container span.editormd-tex{margin:0 5px}.editormd-html-preview .flowchart,.editormd-html-preview .sequence-diagram,.editormd-preview-container .flowchart,.editormd-preview-container .sequence-diagram{text-align:center}.editormd-html-preview .flowchart text,.editormd-html-preview .sequence-diagram text,.editormd-preview-container .flowchart text,.editormd-preview-container .sequence-diagram text{font-size:15px!important;font-family:Arial!important}/*! Pretty printing styles. Used with prettify.js. */.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.clo,.opn,.pun{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:700}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:700}.lit{color:#044}.clo,.opn,.pun{color:#440}.tag{color:#006;font-weight:700}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}.editormd-html-preview pre.prettyprint,.editormd-preview-container pre.prettyprint{padding:10px;border:1px solid #ddd}.editormd-html-preview ol.linenums,.editormd-preview-container ol.linenums{color:#999;padding-left:2.5em}.editormd-html-preview ol.linenums code,.editormd-preview-container ol.linenums code{border:none;background:0 0;padding:0}.editormd-html-preview li.L0,.editormd-html-preview li.L1,.editormd-html-preview li.L2,.editormd-html-preview li.L3,.editormd-html-preview li.L5,.editormd-html-preview li.L6,.editormd-html-preview li.L7,.editormd-html-preview li.L8,.editormd-preview-container li.L0,.editormd-preview-container li.L1,.editormd-preview-container li.L2,.editormd-preview-container li.L3,.editormd-preview-container li.L5,.editormd-preview-container li.L6,.editormd-preview-container li.L7,.editormd-preview-container li.L8{list-style-type:decimal} \ No newline at end of file diff --git a/dist/js/editormd.js b/dist/js/editormd.js index d698fd8..36d75ef 100644 --- a/dist/js/editormd.js +++ b/dist/js/editormd.js @@ -6,7 +6,7 @@ * @license MIT License * @author Pandao * {@link https://github.com/pandao/editor.md} - * @updateTime 2015-02-08 + * @updateTime 2015-02-10 */ /** @@ -70,8 +70,8 @@ toc : true, tocStartLevel : 2, fontSize : "13px", + tex : false, flowChart : false, // flowChart.js only support IE9+ - mathjax : false, sequenceDiagram : false, // sequenceDiagram.js only support IE9+ previewCodeHighlight : true, inRequirejs : false, @@ -144,60 +144,14 @@ fullscreen : "全屏(按ESC还原)", info : "关于" + editormd.title } - }, - - codemirror : { - modes : [ - "css", - "sass", - "shell", - "sql", - "clike", - "php", - "xml", - "markdown", - "javascript", - "htmlmixed", - "gfm", - "http", - "go", - "dart", - "coffeescript", - "nginx", - "python", - "perl", - "lua", - //"r", - "ruby", - "rst", - "smartymixed", - //"vb", - //"vbscript", - //"velocity", - //"xquery", - "yaml" - ], - - addons : [ - "edit/trailingspace", - "dialog/dialog", - "search/searchcursor", - "search/search", - "scroll/annotatescrollbar", - "search/matchesonscrollbar", - "display/placeholder", - "edit/closetag", - "fold/xml-fold", - "mode/overlay", - "selection/active-line", - "edit/closebrackets", - "display/fullscreen", - "search/searchcursor", - "search/match-highlighter" - ] } }; + editormd.classNames = { + tex : editormd.classPrefix + "tex" + }; + + editormd.$katex = null; editormd.$marked = null; editormd.$CodeMirror = null; editormd.$prettyPrint = null; @@ -276,7 +230,7 @@ } else { - _this.setCodeEditor(); + _this.setCodeMirror(); _this.setToolbar(); _this.toolbarHandler(); _this.setMarked().loadedDisplay(); @@ -293,8 +247,6 @@ loadQueues : function() { var _this = this; var settings = this.settings; - var cmModeIndex = 0, cmModeTotal = settings.codemirror.modes.length; - var cmAddonIndex = 0, cmAddonTotal = settings.codemirror.addons.length; var loadPath = settings.path; var loadFlowChartOrSequenceDiagram = function() { @@ -339,28 +291,23 @@ } }; - var loadCodeMirrorAddons = function() { - - var addonName = settings.codemirror.addons[cmAddonIndex]; - - editormd.loadScript(loadPath + "codemirror/addon/" + addonName, function() { - - if(cmAddonIndex < cmAddonTotal - 1) - { - cmAddonIndex ++; - loadCodeMirrorAddons(); - } - else - { - _this.setCodeEditor(); - _this.setToolbar(); + editormd.loadCSS(loadPath + "codemirror/codemirror.min"); + editormd.loadScript(loadPath + "codemirror/codemirror.min", function() { + + editormd.$CodeMirror = CodeMirror; + + editormd.loadScript(loadPath + "codemirror/modes.min", function() { + + editormd.loadScript(loadPath + "codemirror/addons.min", function() { + + _this.setCodeMirror(); + _this.setToolbar(); _this.toolbarHandler(); editormd.loadScript(loadPath + "marked.min", function() { editormd.$marked = marked; - //_this.marked = marked; - + if (settings.previewCodeHighlight) { editormd.loadScript(loadPath + "prettify.min", function() { @@ -372,33 +319,11 @@ loadFlowChartOrSequenceDiagram(); } }); - } - }); - }; - - var loadCodeMirrorModes = function(){ - - var modeName = settings.codemirror.modes[cmModeIndex]; - - editormd.loadScript(loadPath + "codemirror/mode/" + modeName + "/" + modeName, function() { - - if(cmModeIndex < cmModeTotal - 1) - { - cmModeIndex ++; - loadCodeMirrorModes(); - } - else - { - loadCodeMirrorAddons(); - } + + }); + }); - }; - - //editormd.loadCSS(loadPath + "font-awesome.min"); - editormd.loadCSS(loadPath + "codemirror/lib/codemirror.min"); - editormd.loadScript(loadPath + "codemirror/lib/codemirror.min", function() { - editormd.$CodeMirror = CodeMirror; - loadCodeMirrorModes(); + }); return this; @@ -409,7 +334,7 @@ * @returns {editormd} 返回editormd的实例对象 */ - setCodeEditor : function() { + setCodeMirror : function() { var settings = this.settings; var codeMirrorConfig = { @@ -822,12 +747,24 @@ if (settings.sequenceDiagram) { previewContainer.find(".sequence-diagram").sequenceDiagram({theme: "simple"}); } - - if (settings.mathjax) - { - editormd.setMathJaxConfig(function() { - editormd.loadMathJax(); + + var katexHandle = function() { + previewContainer.find("." + editormd.classNames.tex).each(function(){ + var tex = $(this); + editormd.$katex.render(tex.html(), tex[0]); }); + }; + + if (settings.tex) + { + if (!settings.inRequirejs) { + editormd.loadKaTex(function(){ + editormd.$katex = katex; + katexHandle(); + }); + } else { + katexHandle(); + } } editor.data({ @@ -921,21 +858,9 @@ if (settings.sequenceDiagram) { previewContainer.find(".sequence-diagram").sequenceDiagram({theme: "simple"}); } - - if (settings.mathjax) - { - MathJax.Hub.Queue(function () { - previewContainer.find(".mathjax-code").each(function() { - - var mathjaxDoc = $(this).html().replace(/\$\$(.*)\$\$/, function(s1, s2) { return s2; }); - var jaxScript = ""; - - $(this).html($(jaxScript)); - - //MathJax.Hub.Queue(["Typeset", MathJax.Hub, "mathjax-code"]); - MathJax.Hub.Queue(["Typeset", MathJax.Hub, $(this)[0]]); - }); - }); + + if (settings.tex) { + katexHandle(); } $.proxy(settings.onchange, _this)(); @@ -1367,8 +1292,6 @@ markedRenderer.heading = function(text, level, raw) { var escapedText = text.toLowerCase().replace(/[^\w]+/g, "-"); - - //console.log("escapedText", text, escapedText, level, raw); var toc = { text : text, level : level, @@ -1377,27 +1300,35 @@ markdownToC.push(toc); - return "" + text + ""; - }; - - var mathJaxList = []; + return "" + + "" + + "" + text + ""; + }; markedRenderer.paragraph = function(text) { - - var isMathJax = /\$\$(.*)\$\$/.test(text); - var mathjaxClassName = (isMathJax) ? " class=\"mathjax-code\"" : ""; - var isToC = /^\[TOC\]$/.test(text); - - if (isMathJax) { - mathJaxList.push(text); + var isTeXInline = /\$\$(.*)\$\$/g.test(text); + var isTeXLine = /^\$\$(.*)\$\$$/.test(text); + var isTeXAddClass = (isTeXLine) ? " class=\"" + editormd.classNames.tex + "\"" : ""; + var isToC = /^\[TOC\]$/.test(text); + + if (!isTeXLine && isTeXInline) + { + text = text.replace(/(\$\$([^\$]*)\$\$)+/g, function($1, $2) { + return "" + $2.replace(/\$/g, "") + ""; + }); + } + else + { + text = (isTeXLine) ? text.replace(/\$/g, "") : text; } - - return (isToC) ? "
    " + text + "
" : "" + text + "

\n"; + + return (isToC) ? "
    " + text + "
" + : "" + text + "

\n"; }; markedRenderer.code = function (code, lang, escaped) { - if (lang === "seq") + if (lang === "seq" || lang === "sequence") { return "
" + code + "
"; } @@ -1470,10 +1401,11 @@ toc : true, tocStartLevel : 2, markdown : "", - mathjax : false, - previewCodeHighlight : true, + inRequirejs : false, + tex : false, flowChart : false, - sequenceDiagram : false + sequenceDiagram : false, + previewCodeHighlight : true }; editormd.$marked = marked; @@ -1517,24 +1449,92 @@ div.find(".sequence-diagram").sequenceDiagram({theme: "simple"}); } - if (settings.mathjax) + if (settings.tex) { - editormd.setMathJaxConfig(function() { - editormd.loadMathJax(); - }); + var katexHandle = function() { + div.find("." + editormd.classNames.tex).each(function(){ + var tex = $(this); + editormd.$katex.render(tex.html(), tex[0]); + }); + }; + + if (!settings.inRequirejs) { + editormd.loadKaTex(function(){ + editormd.$katex = katex; + katexHandle(); + }); + } else { + katexHandle(); + } } }; + + // for Requires.js + // 与Gulpfile.js对应 + editormd.codeMirrorModules = { + modes : [ + "css", + "sass", + "shell", + "sql", + "clike", + "php", + "xml", + "markdown", + "javascript", + "htmlmixed", + "gfm", + "http", + "go", + "dart", + "coffeescript", + "nginx", + "python", + "perl", + "lua", + "r", + "ruby", + "rst", + "smartymixed", + "vb", + "vbscript", + "velocity", + "xquery", + "yaml", + "erlang", + "jade", + ], + + addons : [ + "edit/trailingspace", + "dialog/dialog", + "search/searchcursor", + "search/search", + "scroll/annotatescrollbar", + "search/matchesonscrollbar", + "display/placeholder", + "edit/closetag", + "fold/xml-fold", + "mode/overlay", + "selection/active-line", + "edit/closebrackets", + "display/fullscreen", + "search/searchcursor", + "search/match-highlighter" + ] + }; /** - * 用于支持Require.js加载的方法 + * 用于支持Require.js加载的方法,注入 * @param {Function} CodeMirror CodeMirror对象 * @param {Function} marked marked对象 * @param {Function} prettyPrint prettyPrint函数 */ - editormd.requirejsInit = function(CodeMirror, marked, prettyPrint) { + editormd.requirejsInit = function(CodeMirror, marked, katex, prettyPrint) { editormd.$CodeMirror = CodeMirror; editormd.$marked = marked; + editormd.$katex = katex; editormd.$prettyPrint = prettyPrint; }; @@ -1549,19 +1549,25 @@ var settings = editormd.defaults; var modules = []; - modules.push(loadPath + "codemirror/lib/codemirror.min"); + modules.push(loadPath + "codemirror/codemirror.min"); - for (var i = 0, len = settings.codemirror.modes.length; i < len; i++) + var codeMirrorModules = editormd.codeMirrorModules; + + for (var i = 0, len = codeMirrorModules.modes.length; i < len; i++) { - var modeName = settings.codemirror.modes[i]; + var modeName = codeMirrorModules.modes[i]; modules.push(loadPath + "codemirror/mode/" + modeName + "/" + modeName); } - for (var i = 0, len = settings.codemirror.addons.length; i < len; i++) + for (var i = 0, len = codeMirrorModules.addons.length; i < len; i++) { - var addonName = settings.codemirror.addons[i]; + var addonName = codeMirrorModules.addons[i]; modules.push(loadPath + "codemirror/addon/" + addonName); } + + editormd.loadCSS(editormd.katexURL.css); + + //modules.push(editormd.katexURL.js + ".js"); return modules; }; @@ -1635,61 +1641,21 @@ } }; - /** - * MathJax配置信息 - * @param {Function} [callback=function()] 加载成功后执行的回调函数 - */ - - editormd.setMathJaxConfig = function (callback) { - callback = callback || function() {}; - - var script = document.createElement("script"); - script.className = "mathjax-config"; - script.type = "text/x-mathjax-config"; - script.text = 'MathJax.Hub.Config({' + - 'extensions: ["tex2jax.js"],'+ - 'jax: ["input/TeX","output/HTML-CSS"],'+ - 'tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]}'+ - '});'; - - document.getElementsByTagName("head")[0].appendChild(script); - - callback(); + // 使用国外的CDN,加载速度有时会很慢,或者自定义URL + editormd.katexURL = { + css : "//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.1.1/katex.min", + js : "//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.1.1/katex.min", }; - // 注:国内可以采用这个CDN,http://cdn.bootcss.com/mathjax/2.4.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML - editormd.mathjaxURL = "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"; - /** - * 加载MathJax文件 + * 加载KaTex文件 * @param {Function} [callback=function()] 加载成功后执行的回调函数 */ - editormd.loadMathJax = function (callback) { - callback = callback || function() {}; - - var script = document.createElement("script"); - script.type = "text/javascript"; - script.className = "mathjax-script"; - - script.onload = script.onreadystatechange = function() { - if (script.readyState) - { - if (script.readyState === "loaded" || script.readyState === "complete") - { - script.onreadystatechange = null; - callback(); - } - } - else - { - callback(); - } - }; - - script.src = editormd.mathjaxURL; - - document.getElementsByTagName("head")[0].appendChild(script); + editormd.loadKaTex = function (callback) { + editormd.loadCSS(editormd.katexURL.css, function(){ + editormd.loadScript(editormd.katexURL.js, callback || function(){}); + }); }; /** diff --git a/dist/js/editormd.min.js b/dist/js/editormd.min.js index a52ad55..3a2c5f2 100644 --- a/dist/js/editormd.min.js +++ b/dist/js/editormd.min.js @@ -1,2 +1,2 @@ -/*! Editor.md v1.0.0 | editormd.min.js | A simple online markdown editor. | MIT License | By: Pandao | https://github.com/pandao/editor.md | 2015-02-08 */ -!function(e){"use strict";"function"==typeof require&&"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define?define(["jquery"],e):window.editormd=e()}(function(){"use strict";var e=jQuery,t=function(e,i){return new t.fn.init(e,i)};return t.title="Editor.md",t.version="1.0.0",t.homePage="https://github.com/pandao/editor.md",t.description="A simple markdown doucment online editor.",t.classPrefix="editormd-",t.defaults={mode:"gfm",markdown:"",width:"100%",height:"100%",path:"./lib/",watch:!0,onload:function(){},onchange:function(){},onfullscreen:function(){},onfullscreenExit:function(){},toc:!0,tocStartLevel:2,fontSize:"13px",flowChart:!1,mathjax:!1,sequenceDiagram:!1,previewCodeHighlight:!0,inRequirejs:!1,toolbar:!0,toolbarIcons:["undo","redo","|","bold","del","italic","quote","|","h1","h2","h3","h4","h5","h6","|","list-ul","list-ol","hr","|","link","picture","code","code-block-tab","code-block","datetime","|","watch","preview","fullscreen","|","info"],toolbarIconsClass:{undo:"fa-undo",redo:"fa-repeat",bold:"fa-bold",del:"fa-strikethrough",italic:"fa-italic",quote:"fa-quote-left",h1:t.classPrefix+"bold",h2:t.classPrefix+"bold",h3:t.classPrefix+"bold",h4:t.classPrefix+"bold",h5:t.classPrefix+"bold",h6:t.classPrefix+"bold","list-ul":"fa-list-ul","list-ol":"fa-list-ol",hr:"fa-minus",link:"fa-link",picture:"fa-picture-o",code:"fa-code","code-block-tab":"fa-file-code-o","code-block":"fa-file-code-o",datetime:"fa-clock-o",watch:"fa-eye-slash",unwatch:"fa-eye",preview:"fa-search",fullscreen:"fa-arrows-alt",info:"fa-info-circle"},lang:{toolbar:{undo:"撤销",redo:"重做",bold:"粗体",del:"删除线",italic:"斜体",quote:"引用",h1:"标题1",h2:"标题2",h3:"标题3",h4:"标题4",h5:"标题5",h6:"标题6","list-ul":"无序列表","list-ol":"有序列表",hr:"横线",link:"链接",picture:"图片",code:"行内代码","code-block-tab":"代码块(缩进风格)","code-block":"代码块(多语言风格)",datetime:"日期时间",watch:"关闭实时预览",unwatch:"开启实时预览",preview:"预览HTML(按ESC还原)",fullscreen:"全屏(按ESC还原)",info:"关于"+t.title}},codemirror:{modes:["css","sass","shell","sql","clike","php","xml","markdown","javascript","htmlmixed","gfm","http","go","dart","coffeescript","nginx","python","perl","lua","ruby","rst","smartymixed","yaml"],addons:["edit/trailingspace","dialog/dialog","search/searchcursor","search/search","scroll/annotatescrollbar","search/matchesonscrollbar","display/placeholder","edit/closetag","fold/xml-fold","mode/overlay","selection/active-line","edit/closebrackets","display/fullscreen","search/searchcursor","search/match-highlighter"]}},t.$marked=null,t.$CodeMirror=null,t.$prettyPrint=null,t.prototype=t.fn={state:{preview:!1,fullscreen:!1},init:function(i,r){r=r||{};var o=this,a=this.classPrefix=t.classPrefix,n=this.editor=e("#"+i),s=this.settings=e.extend(!0,t.defaults,r),l=""===s.markdown?n.children('[type="text/markdown"]').html():s.markdown;this.id=i,this.classNames={textarea:{html:this.classPrefix+"html-textarea",markdown:this.classPrefix+"markdown-textarea"}},n.css({width:"number"==typeof s.width?s.width+"px":s.width,height:"number"==typeof s.height?s.height+"px":s.height}),n.children('[type="text/markdown"]').remove();var c=['
','','
','

'+t.title+"v"+t.version+"

","

"+t.description+"

",'

Home page: '+t.homePage+"

","

License: MIT

","
","
"].join("\n"),d=['
    ','",'','
    ',"
    "].join("\n");return n.append(c).append(d),this.preview=n.find("."+a+"preview"),this.toolbar=n.find("."+a+"toolbar"),this.previewContainer=this.preview.children("."+a+"preview-container"),this.infoDialog=n.find("."+a+"dialog-info"),this.toolbarIconHandlers={},n.addClass(a+"vertical"),s.inRequirejs?(o.setCodeEditor(),o.setToolbar(),o.toolbarHandler(),o.setMarked().loadedDisplay()):this.loadQueues(),this},loadQueues:function(){var e=this,i=this.settings,r=0,o=i.codemirror.modes.length,a=0,n=i.codemirror.addons.length,s=i.path,l=function(){i.flowChart||i.sequenceDiagram?t.loadScript(s+"raphael.min",function(){t.loadScript(s+"underscore.min",function(){!i.flowChart&&i.sequenceDiagram?t.loadScript(s+"sequence-diagram.min",function(){e.setMarked().loadedDisplay()}):i.flowChart&&!i.sequenceDiagram?t.loadScript(s+"flowchart.min",function(){t.loadScript(s+"jquery.flowchart.min",function(){e.setMarked().loadedDisplay()})}):i.flowChart&&i.sequenceDiagram&&t.loadScript(s+"flowchart.min",function(){t.loadScript(s+"jquery.flowchart.min",function(){t.loadScript(s+"sequence-diagram.min",function(){e.setMarked().loadedDisplay()})})})})}):e.setMarked().loadedDisplay()},c=function(){var r=i.codemirror.addons[a];t.loadScript(s+"codemirror/addon/"+r,function(){n-1>a?(a++,c()):(e.setCodeEditor(),e.setToolbar(),e.toolbarHandler(),t.loadScript(s+"marked.min",function(){t.$marked=marked,i.previewCodeHighlight?t.loadScript(s+"prettify.min",function(){l()}):l()}))})},d=function(){var e=i.codemirror.modes[r];t.loadScript(s+"codemirror/mode/"+e+"/"+e,function(){o-1>r?(r++,d()):c()})};return t.loadCSS(s+"codemirror/lib/codemirror.min"),t.loadScript(s+"codemirror/lib/codemirror.min",function(){t.$CodeMirror=CodeMirror,d()}),this},setCodeEditor:function(){var e=(this.settings,{mode:this.settings.mode,theme:"default",tabSize:4,dragDrop:!1,autofocus:!0,indentUnit:4,lineNumbers:!0,lineWrapping:!0,matchBrackets:!0,indentWithTabs:!0,styleActiveLine:!0,styleSelectedText:!0,autoCloseBrackets:!0,showTrailingSpace:!0,highlightSelectionMatches:{showToken:/\w/}});return this.codeEditor=t.$CodeMirror.fromTextArea(this.editor.find("."+this.classNames.textarea.markdown)[0],e),this.codeMirror=this.editor.find(".CodeMirror"),this.codeMirror.css("font-size",this.settings.fontSize),this},showToolbar:function(){return this.settings.toolbar=!0,this.toolbar.show(),this.resize(),this},hideToolbar:function(){return this.settings.toolbar=!1,this.toolbar.hide(),this.resize(),this},setToolbar:function(){var e=this.settings,t=(this.editor,this.preview,this.toolbar);if(!e.toolbar)return void t.hide();t.show();for(var i=t.find("."+this.classPrefix+"menu"),r="",o=0,a=e.toolbarIcons.length;a>o;o++){var n=e.toolbarIcons[o];if("|"!==n){var s=/h(\d)/.test(n);r+='
  • '+(s?n:"")+"
  • "}else r+='
  • |
  • '}return i.append(r),this},toolbarHandler:function(){var i=this.settings;if(i.toolbar){var r=this,o=(this.editor,this.preview,this.toolbar),a=this.codeEditor,n=(this.codeMirror,this.previewContainer,this.toolbarIcons=o.find("."+this.classPrefix+"menu .fa"));return n.bind(t.mouseOrTouch("click","touchend"),function(i){var o=e(this),n=o.attr("name"),s=a.getCursor(),l=a.getSelection();if(""!==n){var c=r.toolbarIconHandlers={undo:function(){a.undo()},redo:function(){a.redo()},bold:function(){a.replaceSelection("**"+l+"**"),""===l&&a.setCursor(s.line,s.ch+2)},del:function(){a.replaceSelection("~~"+l+"~~"),""===l&&a.setCursor(s.line,s.ch+2)},italic:function(){a.replaceSelection("*"+l+"*"),""===l&&a.setCursor(s.line,s.ch+1)},quote:function(){a.replaceSelection(""===l?["> "+l,""].join("\n"):"> "+l),a.setCursor(s.line,""===l?s.ch+2:s.ch+l.length+2)},h1:function(){a.replaceSelection("#"+l)},h2:function(){a.replaceSelection("##"+l)},h3:function(){a.replaceSelection("###"+l)},h4:function(){a.replaceSelection("####"+l)},h5:function(){a.replaceSelection("#####"+l)},h6:function(){a.replaceSelection("######"+l)},"list-ul":function(){if(""===l)a.replaceSelection("- "+l);else{for(var e=l.split("\n"),t=0,i=e.length;i>t;t++)e[t]=""===e[t]?"":"- "+e[t];a.replaceSelection(e.join("\n"))}},"list-ol":function(){if(""===l)a.replaceSelection("1. "+l);else{for(var e=l.split("\n"),t=0,i=e.length;i>t;t++)e[t]=""===e[t]?"":t+1+". "+e[t];a.replaceSelection(e.join("\n"))}},hr:function(){a.replaceSelection("------------")},link:function(){a.replaceSelection("["+l+"]("+l+' "'+l+'")')},picture:function(){a.replaceSelection("!["+l+"]("+l+' "'+l+'")')},code:function(){a.replaceSelection("`"+l+"`"),""===l&&a.setCursor(s.line,s.ch+1)},"code-block-tab":function(){a.replaceSelection(" "+l)},"code-block":function(){a.replaceSelection(["```",l,"```"].join("\n")),""===l&&a.setCursor(s.line,s.ch+3)},datetime:function(){new Date;a.replaceSelection(t.dateFormat()+" "+t.dateFormat("cn-week-day"))},watch:function(){return r.settings.watch?r.unwatch():r.watch(),i.preventDefault(),!1},preview:function(){return r.previewing(),i.preventDefault(),!1},fullscreen:function(){return r.fullscreen(),i.preventDefault(),!1},info:function(){return r.showInfoDialog(),i.preventDefault(),!1}};return c[n](),a.focus(),i.preventDefault(),!1}}),this}},showInfoDialog:function(){return e("html,body").css("overflow-x","hidden"),this.editor.find("."+this.classPrefix+"dialog-info").fadeIn(),this},hideInfoDialog:function(){return e("html,body").css("overflow-x",""),this.editor.find("."+this.classPrefix+"dialog-info").fadeOut(),this},setMarked:function(){var e=t.$marked,i=this.markdownToC=[];return e.setOptions({renderer:t.markedRenderer(i),gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!0,smartLists:!0,smartypants:!0}),this},loadedDisplay:function(){this.state.loaded=!0;{var i=this,r=this.editor,o=this.preview,a=(this.toolbar,this.settings),n=this.codeEditor,s=this.codeMirror,l=this.previewContainer,c=t.mouseOrTouch;this.htmlTextarea=r.find("."+this.classNames.textarea.html),this.markdownTextarea=r.find("."+this.classNames.textarea.markdown)}r.css("background","none"),this.saveToTextareas(),o.show(),a.previewCodeHighlight&&(l.find("pre").addClass("prettyprint linenums"),prettyPrint()),a.flowChart&&l.find(".flowchart").flowChart(),a.sequenceDiagram&&l.find(".sequence-diagram").sequenceDiagram({theme:"simple"}),a.mathjax&&t.setMathJaxConfig(function(){t.loadMathJax()}),r.data({oldWidth:r.outerWidth(),oldHeight:r.outerHeight()}),this.resize(),e(window).resize(function(){i.resize()}),e.proxy(this.settings.onload,this)(),r.find("."+this.classPrefix+"dialog-close").bind(c("click","touchend"),function(){i.hideInfoDialog()});var d=function(){s.find(".CodeMirror-scroll").bind(c("scroll","touchmove"),function(){var t=e(this).outerHeight(),i=e(this).scrollTop(),r=i/e(this)[0].scrollHeight;o.scrollTop(0===i?0:i+t>=e(this)[0].scrollHeight?o[0].scrollHeight:o[0].scrollHeight*r)})},h=function(){s.find(".CodeMirror-scroll").unbind(c("scroll","touchmove"))},u=function(){o.bind(c("scroll","touchmove"),function(){var t=e(this).outerHeight(),i=e(this).scrollTop(),r=i/e(this)[0].scrollHeight,o=s.find(".CodeMirror-scroll");o.scrollTop(0===i?0:i+t>=e(this)[0].scrollHeight?o[0].scrollHeight:o[0].scrollHeight*r)})},f=function(){o.unbind(c("scroll","touchmove"))};return s.hover(d,h).bind("touchstart",d).bind("touchend",h),o.hover(u,f).bind("touchstart",u).bind("touchend",f),n.on("change",function(){a.watch&&(i.saveToTextareas(),a.previewCodeHighlight&&(o.find("pre").addClass("prettyprint linenums"),prettyPrint()),a.flowChart&&l.find(".flowchart").flowChart(),a.sequenceDiagram&&l.find(".sequence-diagram").sequenceDiagram({theme:"simple"}),a.mathjax&&MathJax.Hub.Queue(function(){l.find(".mathjax-code").each(function(){var t=e(this).html().replace(/\$\$(.*)\$\$/,function(e,t){return t}),i='";e(this).html(e(i)),MathJax.Hub.Queue(["Typeset",MathJax.Hub,e(this)[0]])})}),e.proxy(a.onchange,i)())}),this},width:function(e){return this.editor.css({width:"number"==typeof e?e+"px":e}),this.resize(),this},height:function(e){return this.editor.css({height:"number"==typeof e?e+"px":e}),this.resize(),this},resize:function(e,t){e=e||null,t=t||null;var i=this.editor,r=this.preview,o=this.toolbar,a=this.settings,n=this.infoDialog,s=(this.codeEditor,this.codeMirror);return e&&t&&i.css({width:"number"==typeof e?e+"px":e,height:"number"==typeof t?t+"px":t}),n.css({top:(i.height()-n.height())/2,left:(i.width()-n.width())/2}),a.toolbar?s.css("margin-top",o.outerHeight()).outerHeight(i.height()-o.outerHeight()):s.css("margin-top",0).outerHeight(i.height()),this.settings.watch?(s.outerWidth(i.width()/2),r.outerWidth(i.width()/2),a.toolbar?r.css("top",o.outerHeight()).outerHeight(i.height()-o.outerHeight()):r.css("top",0).outerHeight(i.height())):(s.outerWidth(i.width()),r.hide()),this},saveToTextareas:function(){var e=this.settings,i=this.codeEditor,r=this.previewContainer;i.save();var o=this.markdownToC=[],a=t.$marked(i.getValue(),{renderer:t.markedRenderer(o)});return this.markdownTextarea.html(i.getValue()),this.htmlTextarea.html(a),r.html(a),e.toc&&t.markdownToCRenderer(o,r,e.tocStartLevel),this},setMarkdown:function(e){return this.codeEditor.setValue(e),this.saveToTextareas(),this},getMarkdown:function(){return this.codeEditor.getValue()},getHTML:function(){return this.editor.find("."+this.classNames.textarea.html).val()},watch:function(t){t=t||function(){},this.settings.watch=!0,this.preview.show();var i=this.settings.toolbarIconsClass.watch,r=this.settings.toolbarIconsClass.unwatch,o=this.toolbar.find(".fa[name=watch]");return o.parent().attr("title",this.settings.lang.toolbar.watch),o.removeClass(r).addClass(i),this.codeMirror.css("border-right","1px solid #ddd").outerWidth(this.editor.width()/2),this.saveToTextareas().resize(),e.proxy(t,this)(),this},unwatch:function(t){t=t||function(){},this.settings.watch=!1,this.preview.hide();var i=this.settings.toolbarIconsClass.watch,r=this.settings.toolbarIconsClass.unwatch,o=this.toolbar.find(".fa[name=watch]");return o.parent().attr("title",this.settings.lang.toolbar.unwatch),o.removeClass(i).addClass(r),this.codeMirror.css("border-right","none").outerWidth(this.editor.width()),this.resize(),e.proxy(t,this)(),this},show:function(t){t=t||function(){};var i=this;return this.editor.show(function(){e.proxy(t,i)()}),this},hide:function(t){t=t||function(){};var i=this;return this.editor.hide(function(){e.proxy(t,i)()}),this},previewing:function(){var t=this,i=this.editor,r=this.preview,o=this.toolbar,a=this.settings,n=this.codeMirror;a.toolbar&&o.toggle(),o.find(".fa[name=preview]").toggleClass("active"),n.toggle(),n.is(":hidden")?(this.state.preview=!0,this.state.fullscreen&&r.css("background","#fff"),r.show().css({top:0,width:i.width(),height:i.height()})):this.previewed(),e(window).keyup(function(e){27===e.keyCode&&t.previewed()})},previewed:function(){var e=this.editor,t=this.preview,i=this.toolbar,r=this.settings,o=this.codeMirror;return this.state.preview=!1,o.show(),r.toolbar&&i.show(),this.settings.watch?t.show():t.hide(),t.css({background:null,width:e.width()/2,height:e.height()-i.outerHeight(),top:r.toolbar?i.outerHeight():0}),this},fullscreen:function(){var t=this,i=this.editor,r=(this.preview,this.toolbar),o=this.classPrefix+"fullscreen";return r.find(".fa[name=fullscreen]").parent().toggleClass("active"),i.hasClass(o)?this.fullscreenExit():(this.state.fullscreen=!0,e("html,body").css("overflow","hidden"),i.css({position:"fixed",top:0,left:0,margin:0,border:"none",width:e(window).width(),height:e(window).height()}).addClass(o),this.resize(),e.proxy(this.settings.onfullscreen,this)()),e(window).keyup(function(e){t.state.preview||27===e.keyCode&&t.fullscreenExit()}),this},fullscreenExit:function(){var t=this.editor,i=this.classPrefix+"fullscreen";return this.state.fullscreen=!1,this.toolbar.find(".fa[name=fullscreen]").parent().removeClass("active"),e("html,body").css("overflow",""),t.css({position:"",top:"",left:"",margin:"0 auto",width:t.data("oldWidth"),height:t.data("oldHeight"),border:"1px solid #ddd"}).removeClass(i),this.resize(),e.proxy(this.settings.onfullscreenExit,this)(),this}},t.fn.init.prototype=t.fn,t.markedRenderer=function(e){var i=t.$marked,r=new i.Renderer;e=e||[],r.heading=function(t,i,r){var o=t.toLowerCase().replace(/[^\w]+/g,"-"),a={text:t,level:i,slug:o};return e.push(a),"'+t+""};var o=[];return r.paragraph=function(e){var t=/\$\$(.*)\$\$/.test(e),i=t?' class="mathjax-code"':"",r=/^\[TOC\]$/.test(e);return t&&o.push(e),r?'
      '+e+"
    ":""+e+"

    \n"},r.code=function(e,t){return"seq"===t?'
    '+e+"
    ":"flow"===t?'
    '+e+"
    ":i.Renderer.prototype.code.apply(this,arguments)},r},t.markdownToCRenderer=function(e,t,i){var r="",o=0;i=i||2;for(var a=0,n=e.length;n>a;a++){var s=e[a].text,l=e[a].level;i>l||(r+=l>o?"":o>l?new Array(o-l+2).join(""):"",r+='
  • '+s+"
      ",o=l)}t.find(".markdown-toc-list").html("").html(r)},t.markdownToHTML=function(i,r){r=r||{};var o={toc:!0,tocStartLevel:2,markdown:"",mathjax:!1,previewCodeHighlight:!0,flowChart:!1,sequenceDiagram:!1};t.$marked=marked;var a=e.extend(!0,o,r),n=e("#"+i),s=n.find('[type="text/markdown"]'),l=""===a.markdown?s.html():a.markdown,c=[],d={renderer:t.markedRenderer(c),gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!0,smartLists:!0,smartypants:!0},h=marked(l,d);s.html(l),n.addClass("markdown-body").append(h),a.toc&&t.markdownToCRenderer(c,n,a.tocStartLevel),a.previewCodeHighlight&&(n.find("pre").addClass("prettyprint linenums"),prettyPrint()),a.flowChart&&n.find(".flowchart").flowChart(),a.sequenceDiagram&&n.find(".sequence-diagram").sequenceDiagram({theme:"simple"}),a.mathjax&&t.setMathJaxConfig(function(){t.loadMathJax()})},t.requirejsInit=function(e,i,r){t.$CodeMirror=e,t.$marked=i,t.$prettyPrint=r},t.requireModules=function(e){e=e||"";var i=t.defaults,r=[];r.push(e+"codemirror/lib/codemirror.min");for(var o=0,a=i.codemirror.modes.length;a>o;o++){var n=i.codemirror.modes[o];r.push(e+"codemirror/mode/"+n+"/"+n)}for(var o=0,a=i.codemirror.addons.length;a>o;o++){var s=i.codemirror.addons[o];r.push(e+"codemirror/addon/"+s)}return r},t.loadCSS=function(e,t,i){i=i||"head",t=t||function(){};var r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.onload=r.onreadystatechange=function(){t()},r.href=e+".css","head"===i?document.getElementsByTagName("head")[0].appendChild(r):document.body.appendChild(r)},t.loadScript=function(e,t,i){i=i||"head",t=t||function(){};var r=document.createElement("script");r.type="text/javascript",r.onload=r.onreadystatechange=function(){r.readyState?("loaded"===r.readyState||"complete"===r.readyState)&&(r.onreadystatechange=null,t()):t()},r.src=e+".js","head"===i?document.getElementsByTagName("head")[0].appendChild(r):document.body.appendChild(r)},t.setMathJaxConfig=function(e){e=e||function(){};var t=document.createElement("script");t.className="mathjax-config",t.type="text/x-mathjax-config",t.text='MathJax.Hub.Config({extensions: ["tex2jax.js"],jax: ["input/TeX","output/HTML-CSS"],tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]}});',document.getElementsByTagName("head")[0].appendChild(t),e()},t.mathjaxURL="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML",t.loadMathJax=function(e){e=e||function(){};var i=document.createElement("script");i.type="text/javascript",i.className="mathjax-script",i.onload=i.onreadystatechange=function(){i.readyState?("loaded"===i.readyState||"complete"===i.readyState)&&(i.onreadystatechange=null,e()):e()},i.src=t.mathjaxURL,document.getElementsByTagName("head")[0].appendChild(i)},t.mouseOrTouch=function(e,t){e=e||"click",t=t||"touchend";var i=e;try{document.createEvent("TouchEvent"),i=t}catch(r){}return i},t.dateFormat=function(e){e=e||"";var t=function(e){return 10>e?"0"+e:e},i=new Date,r=i.getFullYear(),o=r.toString().slice(2,4),a=t(i.getMonth()+1),n=t(i.getDate()),s=i.getDay(),l=t(i.getHours()),c=t(i.getMinutes()),d=t(i.getSeconds()),h=t(i.getMilliseconds()),u="",f=o+"-"+a+"-"+n,m=r+"-"+a+"-"+n,p=l+":"+c+":"+d;switch(e){case"UNIX Time":u=i.getTime();break;case"UTC":u=i.toUTCString();break;case"yy":u=o;break;case"year":case"yyyy":u=r;break;case"month":case"mm":u=a;break;case"cn-week-day":case"cn-wd":var g=["日","一","二","三","四","五","六"];u="星期"+g[s];break;case"week-day":case"wd":u=s;break;case"day":case"dd":u=n;break;case"hour":case"hh":u=l;break;case"min":case"ii":u=c;break;case"second":case"ss":u=d;break;case"ms":u=h;break;case"yy-mm-dd":u=f;break;case"yyyy-mm-dd":u=m;break;case"yyyy-mm-dd h:i:s ms":case"full + ms":u=m+" "+p+" "+h;break;case"full":case"yyyy-mm-dd h:i:s":default:u=m+" "+p}return u},t}); \ No newline at end of file +/*! Editor.md v1.0.0 | editormd.min.js | A simple online markdown editor. | MIT License | By: Pandao | https://github.com/pandao/editor.md | 2015-02-10 */ +!function(e){"use strict";"function"==typeof require&&"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define?define(["jquery"],e):window.editormd=e()}(function(){"use strict";var e=jQuery,t=function(e,i){return new t.fn.init(e,i)};return t.title="Editor.md",t.version="1.0.0",t.homePage="https://github.com/pandao/editor.md",t.description="A simple markdown doucment online editor.",t.classPrefix="editormd-",t.defaults={mode:"gfm",markdown:"",width:"100%",height:"100%",path:"./lib/",watch:!0,onload:function(){},onchange:function(){},onfullscreen:function(){},onfullscreenExit:function(){},toc:!0,tocStartLevel:2,fontSize:"13px",tex:!1,flowChart:!1,sequenceDiagram:!1,previewCodeHighlight:!0,inRequirejs:!1,toolbar:!0,toolbarIcons:["undo","redo","|","bold","del","italic","quote","|","h1","h2","h3","h4","h5","h6","|","list-ul","list-ol","hr","|","link","picture","code","code-block-tab","code-block","datetime","|","watch","preview","fullscreen","|","info"],toolbarIconsClass:{undo:"fa-undo",redo:"fa-repeat",bold:"fa-bold",del:"fa-strikethrough",italic:"fa-italic",quote:"fa-quote-left",h1:t.classPrefix+"bold",h2:t.classPrefix+"bold",h3:t.classPrefix+"bold",h4:t.classPrefix+"bold",h5:t.classPrefix+"bold",h6:t.classPrefix+"bold","list-ul":"fa-list-ul","list-ol":"fa-list-ol",hr:"fa-minus",link:"fa-link",picture:"fa-picture-o",code:"fa-code","code-block-tab":"fa-file-code-o","code-block":"fa-file-code-o",datetime:"fa-clock-o",watch:"fa-eye-slash",unwatch:"fa-eye",preview:"fa-search",fullscreen:"fa-arrows-alt",info:"fa-info-circle"},lang:{toolbar:{undo:"撤销",redo:"重做",bold:"粗体",del:"删除线",italic:"斜体",quote:"引用",h1:"标题1",h2:"标题2",h3:"标题3",h4:"标题4",h5:"标题5",h6:"标题6","list-ul":"无序列表","list-ol":"有序列表",hr:"横线",link:"链接",picture:"图片",code:"行内代码","code-block-tab":"代码块(缩进风格)","code-block":"代码块(多语言风格)",datetime:"日期时间",watch:"关闭实时预览",unwatch:"开启实时预览",preview:"预览HTML(按ESC还原)",fullscreen:"全屏(按ESC还原)",info:"关于"+t.title}}},t.classNames={tex:t.classPrefix+"tex"},t.$katex=null,t.$marked=null,t.$CodeMirror=null,t.$prettyPrint=null,t.prototype=t.fn={state:{preview:!1,fullscreen:!1},init:function(i,r){r=r||{};var o=this,a=this.classPrefix=t.classPrefix,s=this.editor=e("#"+i),n=this.settings=e.extend(!0,t.defaults,r),l=""===n.markdown?s.children('[type="text/markdown"]').html():n.markdown;this.id=i,this.classNames={textarea:{html:this.classPrefix+"html-textarea",markdown:this.classPrefix+"markdown-textarea"}},s.css({width:"number"==typeof n.width?n.width+"px":n.width,height:"number"==typeof n.height?n.height+"px":n.height}),s.children('[type="text/markdown"]').remove();var c=['
      ','','
      ','

      '+t.title+"v"+t.version+"

      ","

      "+t.description+"

      ",'

      Home page: '+t.homePage+"

      ","

      License: MIT

      ","
      ","
      "].join("\n"),d=['
        ','",'','
        ',"
        "].join("\n");return s.append(c).append(d),this.preview=s.find("."+a+"preview"),this.toolbar=s.find("."+a+"toolbar"),this.previewContainer=this.preview.children("."+a+"preview-container"),this.infoDialog=s.find("."+a+"dialog-info"),this.toolbarIconHandlers={},s.addClass(a+"vertical"),n.inRequirejs?(o.setCodeMirror(),o.setToolbar(),o.toolbarHandler(),o.setMarked().loadedDisplay()):this.loadQueues(),this},loadQueues:function(){var e=this,i=this.settings,r=i.path,o=function(){i.flowChart||i.sequenceDiagram?t.loadScript(r+"raphael.min",function(){t.loadScript(r+"underscore.min",function(){!i.flowChart&&i.sequenceDiagram?t.loadScript(r+"sequence-diagram.min",function(){e.setMarked().loadedDisplay()}):i.flowChart&&!i.sequenceDiagram?t.loadScript(r+"flowchart.min",function(){t.loadScript(r+"jquery.flowchart.min",function(){e.setMarked().loadedDisplay()})}):i.flowChart&&i.sequenceDiagram&&t.loadScript(r+"flowchart.min",function(){t.loadScript(r+"jquery.flowchart.min",function(){t.loadScript(r+"sequence-diagram.min",function(){e.setMarked().loadedDisplay()})})})})}):e.setMarked().loadedDisplay()};return t.loadCSS(r+"codemirror/codemirror.min"),t.loadScript(r+"codemirror/codemirror.min",function(){t.$CodeMirror=CodeMirror,t.loadScript(r+"codemirror/modes.min",function(){t.loadScript(r+"codemirror/addons.min",function(){e.setCodeMirror(),e.setToolbar(),e.toolbarHandler(),t.loadScript(r+"marked.min",function(){t.$marked=marked,i.previewCodeHighlight?t.loadScript(r+"prettify.min",function(){o()}):o()})})})}),this},setCodeMirror:function(){var e=(this.settings,{mode:this.settings.mode,theme:"default",tabSize:4,dragDrop:!1,autofocus:!0,indentUnit:4,lineNumbers:!0,lineWrapping:!0,matchBrackets:!0,indentWithTabs:!0,styleActiveLine:!0,styleSelectedText:!0,autoCloseBrackets:!0,showTrailingSpace:!0,highlightSelectionMatches:{showToken:/\w/}});return this.codeEditor=t.$CodeMirror.fromTextArea(this.editor.find("."+this.classNames.textarea.markdown)[0],e),this.codeMirror=this.editor.find(".CodeMirror"),this.codeMirror.css("font-size",this.settings.fontSize),this},showToolbar:function(){return this.settings.toolbar=!0,this.toolbar.show(),this.resize(),this},hideToolbar:function(){return this.settings.toolbar=!1,this.toolbar.hide(),this.resize(),this},setToolbar:function(){var e=this.settings,t=(this.editor,this.preview,this.toolbar);if(!e.toolbar)return void t.hide();t.show();for(var i=t.find("."+this.classPrefix+"menu"),r="",o=0,a=e.toolbarIcons.length;a>o;o++){var s=e.toolbarIcons[o];if("|"!==s){var n=/h(\d)/.test(s);r+='
      • '+(n?s:"")+"
      • "}else r+='
      • |
      • '}return i.append(r),this},toolbarHandler:function(){var i=this.settings;if(i.toolbar){var r=this,o=(this.editor,this.preview,this.toolbar),a=this.codeEditor,s=(this.codeMirror,this.previewContainer,this.toolbarIcons=o.find("."+this.classPrefix+"menu .fa"));return s.bind(t.mouseOrTouch("click","touchend"),function(i){var o=e(this),s=o.attr("name"),n=a.getCursor(),l=a.getSelection();if(""!==s){var c=r.toolbarIconHandlers={undo:function(){a.undo()},redo:function(){a.redo()},bold:function(){a.replaceSelection("**"+l+"**"),""===l&&a.setCursor(n.line,n.ch+2)},del:function(){a.replaceSelection("~~"+l+"~~"),""===l&&a.setCursor(n.line,n.ch+2)},italic:function(){a.replaceSelection("*"+l+"*"),""===l&&a.setCursor(n.line,n.ch+1)},quote:function(){a.replaceSelection(""===l?["> "+l,""].join("\n"):"> "+l),a.setCursor(n.line,""===l?n.ch+2:n.ch+l.length+2)},h1:function(){a.replaceSelection("#"+l)},h2:function(){a.replaceSelection("##"+l)},h3:function(){a.replaceSelection("###"+l)},h4:function(){a.replaceSelection("####"+l)},h5:function(){a.replaceSelection("#####"+l)},h6:function(){a.replaceSelection("######"+l)},"list-ul":function(){if(""===l)a.replaceSelection("- "+l);else{for(var e=l.split("\n"),t=0,i=e.length;i>t;t++)e[t]=""===e[t]?"":"- "+e[t];a.replaceSelection(e.join("\n"))}},"list-ol":function(){if(""===l)a.replaceSelection("1. "+l);else{for(var e=l.split("\n"),t=0,i=e.length;i>t;t++)e[t]=""===e[t]?"":t+1+". "+e[t];a.replaceSelection(e.join("\n"))}},hr:function(){a.replaceSelection("------------")},link:function(){a.replaceSelection("["+l+"]("+l+' "'+l+'")')},picture:function(){a.replaceSelection("!["+l+"]("+l+' "'+l+'")')},code:function(){a.replaceSelection("`"+l+"`"),""===l&&a.setCursor(n.line,n.ch+1)},"code-block-tab":function(){a.replaceSelection(" "+l)},"code-block":function(){a.replaceSelection(["```",l,"```"].join("\n")),""===l&&a.setCursor(n.line,n.ch+3)},datetime:function(){new Date;a.replaceSelection(t.dateFormat()+" "+t.dateFormat("cn-week-day"))},watch:function(){return r.settings.watch?r.unwatch():r.watch(),i.preventDefault(),!1},preview:function(){return r.previewing(),i.preventDefault(),!1},fullscreen:function(){return r.fullscreen(),i.preventDefault(),!1},info:function(){return r.showInfoDialog(),i.preventDefault(),!1}};return c[s](),a.focus(),i.preventDefault(),!1}}),this}},showInfoDialog:function(){return e("html,body").css("overflow-x","hidden"),this.editor.find("."+this.classPrefix+"dialog-info").fadeIn(),this},hideInfoDialog:function(){return e("html,body").css("overflow-x",""),this.editor.find("."+this.classPrefix+"dialog-info").fadeOut(),this},setMarked:function(){var e=t.$marked,i=this.markdownToC=[];return e.setOptions({renderer:t.markedRenderer(i),gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!0,smartLists:!0,smartypants:!0}),this},loadedDisplay:function(){this.state.loaded=!0;{var i=this,r=this.editor,o=this.preview,a=(this.toolbar,this.settings),s=this.codeEditor,n=this.codeMirror,l=this.previewContainer,c=t.mouseOrTouch;this.htmlTextarea=r.find("."+this.classNames.textarea.html),this.markdownTextarea=r.find("."+this.classNames.textarea.markdown)}r.css("background","none"),this.saveToTextareas(),o.show(),a.previewCodeHighlight&&(l.find("pre").addClass("prettyprint linenums"),prettyPrint()),a.flowChart&&l.find(".flowchart").flowChart(),a.sequenceDiagram&&l.find(".sequence-diagram").sequenceDiagram({theme:"simple"});var d=function(){l.find("."+t.classNames.tex).each(function(){var i=e(this);t.$katex.render(i.html(),i[0])})};a.tex&&(a.inRequirejs?d():t.loadKaTex(function(){t.$katex=katex,d()})),r.data({oldWidth:r.outerWidth(),oldHeight:r.outerHeight()}),this.resize(),e(window).resize(function(){i.resize()}),e.proxy(this.settings.onload,this)(),r.find("."+this.classPrefix+"dialog-close").bind(c("click","touchend"),function(){i.hideInfoDialog()});var h=function(){n.find(".CodeMirror-scroll").bind(c("scroll","touchmove"),function(){var t=e(this).outerHeight(),i=e(this).scrollTop(),r=i/e(this)[0].scrollHeight;o.scrollTop(0===i?0:i+t>=e(this)[0].scrollHeight?o[0].scrollHeight:o[0].scrollHeight*r)})},u=function(){n.find(".CodeMirror-scroll").unbind(c("scroll","touchmove"))},f=function(){o.bind(c("scroll","touchmove"),function(){var t=e(this).outerHeight(),i=e(this).scrollTop(),r=i/e(this)[0].scrollHeight,o=n.find(".CodeMirror-scroll");o.scrollTop(0===i?0:i+t>=e(this)[0].scrollHeight?o[0].scrollHeight:o[0].scrollHeight*r)})},m=function(){o.unbind(c("scroll","touchmove"))};return n.hover(h,u).bind("touchstart",h).bind("touchend",u),o.hover(f,m).bind("touchstart",f).bind("touchend",m),s.on("change",function(){a.watch&&(i.saveToTextareas(),a.previewCodeHighlight&&(o.find("pre").addClass("prettyprint linenums"),prettyPrint()),a.flowChart&&l.find(".flowchart").flowChart(),a.sequenceDiagram&&l.find(".sequence-diagram").sequenceDiagram({theme:"simple"}),a.tex&&d(),e.proxy(a.onchange,i)())}),this},width:function(e){return this.editor.css({width:"number"==typeof e?e+"px":e}),this.resize(),this},height:function(e){return this.editor.css({height:"number"==typeof e?e+"px":e}),this.resize(),this},resize:function(e,t){e=e||null,t=t||null;var i=this.editor,r=this.preview,o=this.toolbar,a=this.settings,s=this.infoDialog,n=(this.codeEditor,this.codeMirror);return e&&t&&i.css({width:"number"==typeof e?e+"px":e,height:"number"==typeof t?t+"px":t}),s.css({top:(i.height()-s.height())/2,left:(i.width()-s.width())/2}),a.toolbar?n.css("margin-top",o.outerHeight()).outerHeight(i.height()-o.outerHeight()):n.css("margin-top",0).outerHeight(i.height()),this.settings.watch?(n.outerWidth(i.width()/2),r.outerWidth(i.width()/2),a.toolbar?r.css("top",o.outerHeight()).outerHeight(i.height()-o.outerHeight()):r.css("top",0).outerHeight(i.height())):(n.outerWidth(i.width()),r.hide()),this},saveToTextareas:function(){var e=this.settings,i=this.codeEditor,r=this.previewContainer;i.save();var o=this.markdownToC=[],a=t.$marked(i.getValue(),{renderer:t.markedRenderer(o)});return this.markdownTextarea.html(i.getValue()),this.htmlTextarea.html(a),r.html(a),e.toc&&t.markdownToCRenderer(o,r,e.tocStartLevel),this},setMarkdown:function(e){return this.codeEditor.setValue(e),this.saveToTextareas(),this},getMarkdown:function(){return this.codeEditor.getValue()},getHTML:function(){return this.editor.find("."+this.classNames.textarea.html).val()},watch:function(t){t=t||function(){},this.settings.watch=!0,this.preview.show();var i=this.settings.toolbarIconsClass.watch,r=this.settings.toolbarIconsClass.unwatch,o=this.toolbar.find(".fa[name=watch]");return o.parent().attr("title",this.settings.lang.toolbar.watch),o.removeClass(r).addClass(i),this.codeMirror.css("border-right","1px solid #ddd").outerWidth(this.editor.width()/2),this.saveToTextareas().resize(),e.proxy(t,this)(),this},unwatch:function(t){t=t||function(){},this.settings.watch=!1,this.preview.hide();var i=this.settings.toolbarIconsClass.watch,r=this.settings.toolbarIconsClass.unwatch,o=this.toolbar.find(".fa[name=watch]");return o.parent().attr("title",this.settings.lang.toolbar.unwatch),o.removeClass(i).addClass(r),this.codeMirror.css("border-right","none").outerWidth(this.editor.width()),this.resize(),e.proxy(t,this)(),this},show:function(t){t=t||function(){};var i=this;return this.editor.show(function(){e.proxy(t,i)()}),this},hide:function(t){t=t||function(){};var i=this;return this.editor.hide(function(){e.proxy(t,i)()}),this},previewing:function(){var t=this,i=this.editor,r=this.preview,o=this.toolbar,a=this.settings,s=this.codeMirror;a.toolbar&&o.toggle(),o.find(".fa[name=preview]").toggleClass("active"),s.toggle(),s.is(":hidden")?(this.state.preview=!0,this.state.fullscreen&&r.css("background","#fff"),r.show().css({top:0,width:i.width(),height:i.height()})):this.previewed(),e(window).keyup(function(e){27===e.keyCode&&t.previewed()})},previewed:function(){var e=this.editor,t=this.preview,i=this.toolbar,r=this.settings,o=this.codeMirror;return this.state.preview=!1,o.show(),r.toolbar&&i.show(),this.settings.watch?t.show():t.hide(),t.css({background:null,width:e.width()/2,height:e.height()-i.outerHeight(),top:r.toolbar?i.outerHeight():0}),this},fullscreen:function(){var t=this,i=this.editor,r=(this.preview,this.toolbar),o=this.classPrefix+"fullscreen";return r.find(".fa[name=fullscreen]").parent().toggleClass("active"),i.hasClass(o)?this.fullscreenExit():(this.state.fullscreen=!0,e("html,body").css("overflow","hidden"),i.css({position:"fixed",top:0,left:0,margin:0,border:"none",width:e(window).width(),height:e(window).height()}).addClass(o),this.resize(),e.proxy(this.settings.onfullscreen,this)()),e(window).keyup(function(e){t.state.preview||27===e.keyCode&&t.fullscreenExit()}),this},fullscreenExit:function(){var t=this.editor,i=this.classPrefix+"fullscreen";return this.state.fullscreen=!1,this.toolbar.find(".fa[name=fullscreen]").parent().removeClass("active"),e("html,body").css("overflow",""),t.css({position:"",top:"",left:"",margin:"0 auto",width:t.data("oldWidth"),height:t.data("oldHeight"),border:"1px solid #ddd"}).removeClass(i),this.resize(),e.proxy(this.settings.onfullscreenExit,this)(),this}},t.fn.init.prototype=t.fn,t.markedRenderer=function(e){var i=t.$marked,r=new i.Renderer;return e=e||[],r.heading=function(t,i,r){var o=t.toLowerCase().replace(/[^\w]+/g,"-"),a={text:t,level:i,slug:o};return e.push(a),"'+t+""},r.paragraph=function(e){var i=/\$\$(.*)\$\$/g.test(e),r=/^\$\$(.*)\$\$$/.test(e),o=r?' class="'+t.classNames.tex+'"':"",a=/^\[TOC\]$/.test(e);return e=!r&&i?e.replace(/(\$\$([^\$]*)\$\$)+/g,function(e,i){return''+i.replace(/\$/g,"")+""}):r?e.replace(/\$/g,""):e,a?'
          '+e+"
        ":""+e+"

        \n"},r.code=function(e,t){return"seq"===t||"sequence"===t?'
        '+e+"
        ":"flow"===t?'
        '+e+"
        ":i.Renderer.prototype.code.apply(this,arguments)},r},t.markdownToCRenderer=function(e,t,i){var r="",o=0;i=i||2;for(var a=0,s=e.length;s>a;a++){var n=e[a].text,l=e[a].level;i>l||(r+=l>o?"":o>l?new Array(o-l+2).join("
    • "):"",r+='
    • '+n+"
        ",o=l)}t.find(".markdown-toc-list").html("").html(r)},t.markdownToHTML=function(i,r){r=r||{};var o={toc:!0,tocStartLevel:2,markdown:"",inRequirejs:!1,tex:!1,flowChart:!1,sequenceDiagram:!1,previewCodeHighlight:!0};t.$marked=marked;var a=e.extend(!0,o,r),s=e("#"+i),n=s.find('[type="text/markdown"]'),l=""===a.markdown?n.html():a.markdown,c=[],d={renderer:t.markedRenderer(c),gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!0,smartLists:!0,smartypants:!0},h=marked(l,d);if(n.html(l),s.addClass("markdown-body").append(h),a.toc&&t.markdownToCRenderer(c,s,a.tocStartLevel),a.previewCodeHighlight&&(s.find("pre").addClass("prettyprint linenums"),prettyPrint()),a.flowChart&&s.find(".flowchart").flowChart(),a.sequenceDiagram&&s.find(".sequence-diagram").sequenceDiagram({theme:"simple"}),a.tex){var u=function(){s.find("."+t.classNames.tex).each(function(){var i=e(this);t.$katex.render(i.html(),i[0])})};a.inRequirejs?u():t.loadKaTex(function(){t.$katex=katex,u()})}},t.codeMirrorModules={modes:["css","sass","shell","sql","clike","php","xml","markdown","javascript","htmlmixed","gfm","http","go","dart","coffeescript","nginx","python","perl","lua","r","ruby","rst","smartymixed","vb","vbscript","velocity","xquery","yaml","erlang","jade"],addons:["edit/trailingspace","dialog/dialog","search/searchcursor","search/search","scroll/annotatescrollbar","search/matchesonscrollbar","display/placeholder","edit/closetag","fold/xml-fold","mode/overlay","selection/active-line","edit/closebrackets","display/fullscreen","search/searchcursor","search/match-highlighter"]},t.requirejsInit=function(e,i,r,o){t.$CodeMirror=e,t.$marked=i,t.$katex=r,t.$prettyPrint=o},t.requireModules=function(e){e=e||"";var i=(t.defaults,[]);i.push(e+"codemirror/codemirror.min");for(var r=t.codeMirrorModules,o=0,a=r.modes.length;a>o;o++){var s=r.modes[o];i.push(e+"codemirror/mode/"+s+"/"+s)}for(var o=0,a=r.addons.length;a>o;o++){var n=r.addons[o];i.push(e+"codemirror/addon/"+n)}return t.loadCSS(t.katexURL.css),i},t.loadCSS=function(e,t,i){i=i||"head",t=t||function(){};var r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.onload=r.onreadystatechange=function(){t()},r.href=e+".css","head"===i?document.getElementsByTagName("head")[0].appendChild(r):document.body.appendChild(r)},t.loadScript=function(e,t,i){i=i||"head",t=t||function(){};var r=document.createElement("script");r.type="text/javascript",r.onload=r.onreadystatechange=function(){r.readyState?("loaded"===r.readyState||"complete"===r.readyState)&&(r.onreadystatechange=null,t()):t()},r.src=e+".js","head"===i?document.getElementsByTagName("head")[0].appendChild(r):document.body.appendChild(r)},t.katexURL={css:"//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.1.1/katex.min",js:"//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.1.1/katex.min"},t.loadKaTex=function(e){t.loadCSS(t.katexURL.css,function(){t.loadScript(t.katexURL.js,e||function(){})})},t.mouseOrTouch=function(e,t){e=e||"click",t=t||"touchend";var i=e;try{document.createEvent("TouchEvent"),i=t}catch(r){}return i},t.dateFormat=function(e){e=e||"";var t=function(e){return 10>e?"0"+e:e},i=new Date,r=i.getFullYear(),o=r.toString().slice(2,4),a=t(i.getMonth()+1),s=t(i.getDate()),n=i.getDay(),l=t(i.getHours()),c=t(i.getMinutes()),d=t(i.getSeconds()),h=t(i.getMilliseconds()),u="",f=o+"-"+a+"-"+s,m=r+"-"+a+"-"+s,p=l+":"+c+":"+d;switch(e){case"UNIX Time":u=i.getTime();break;case"UTC":u=i.toUTCString();break;case"yy":u=o;break;case"year":case"yyyy":u=r;break;case"month":case"mm":u=a;break;case"cn-week-day":case"cn-wd":var g=["日","一","二","三","四","五","六"];u="星期"+g[n];break;case"week-day":case"wd":u=n;break;case"day":case"dd":u=s;break;case"hour":case"hh":u=l;break;case"min":case"ii":u=c;break;case"second":case"ss":u=d;break;case"ms":u=h;break;case"yy-mm-dd":u=f;break;case"yyyy-mm-dd":u=m;break;case"yyyy-mm-dd h:i:s ms":case"full + ms":u=m+" "+p+" "+h;break;case"full":case"yyyy-mm-dd h:i:s":default:u=m+" "+p}return u},t}); \ No newline at end of file diff --git a/docs/html/index.html b/docs/html/index.html index 5d00fb1..0aedf7f 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -49,9 +49,9 @@
        • 支持Markdown标准和Github风格;
        • 支持实时预览和多语言语法高亮;
        • -
        • 支持ToC(Table of Contents);
        • +
        • 支持ToC(Table of Contents)
        • 兼容主流的浏览器(IE8+),且支持iPad等平板设备;
        • -
        • 支持Latex科学公式(基于MathJax);
        • +
        • 支持TeX科学公式(基于KaTeX);
        • 支持流程图 flowchart 和时序图 sequenceDiagram;
        • 支持AMD/CMD模块化加载(支持 Require.js & Sea.js);
        @@ -88,7 +88,9 @@
      • jQuery
      • FontAwesome
      • github-markdown.css
      • +
      • KaTeX
      • prettify.js
      • +
      • Rephael.js
      • flowchart.js
      • sequence-diagram.js
      @@ -114,7 +116,7 @@
      - Documentation generated by JSDoc 3.3.0-alpha5 on Sat Feb 07 2015 21:21:44 GMT+0800 (中国标准时间) + Documentation generated by JSDoc 3.3.0-alpha5 on Tue Feb 10 2015 00:44:02 GMT+0800 (中国标准时间)