diff options
author | Cheng-Han, Wu | 2016-03-04 23:26:27 +0800 |
---|---|---|
committer | Cheng-Han, Wu | 2016-03-04 23:26:27 +0800 |
commit | b49d4e22616d7ac2a60db08dc69fdaf9b973cb04 (patch) | |
tree | e8b8c440036c6fedddf731b78a747e3a5c2eff4c /public/views | |
parent | c43f9784b4e0ed7299a215f0e3f1e4fce296780f (diff) |
Support mermaid in code block diagram and updated all diagram rendering method and styles
Diffstat (limited to 'public/views')
-rw-r--r-- | public/views/foot.ejs | 1 | ||||
-rw-r--r-- | public/views/head.ejs | 1 | ||||
-rw-r--r-- | public/views/pretty.ejs | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/public/views/foot.ejs b/public/views/foot.ejs index 48761d0f..06c194bd 100644 --- a/public/views/foot.ejs +++ b/public/views/foot.ejs @@ -50,6 +50,7 @@ <script src="<%- url %>/vendor/sequence-diagrams/sequence-diagram-min.js" defer></script> <script src="<%- url %>/vendor/flowchart/release/flowchart.min.js" defer></script> <script src="<%- url %>/vendor/viz.js/viz.js" defer></script> +<script src="<%- url %>/vendor/mermaid/dist/mermaid.min.js" defer></script> <script src="<%- url %>/vendor/FileSaver.min.js" defer></script> <script src="<%- url %>/vendor/store.min.js" defer></script> <script src="<%- url %>/vendor/js-url/url.min.js" defer></script> diff --git a/public/views/head.ejs b/public/views/head.ejs index 17a4a8fb..a00c2e2b 100644 --- a/public/views/head.ejs +++ b/public/views/head.ejs @@ -32,6 +32,7 @@ <link rel="stylesheet" href="<%- url %>/vendor/highlight-js/github-gist.min.css"> <link rel="stylesheet" href="<%- url %>/vendor/emojify/css/emojify.min.css"> <link rel="stylesheet" href="<%- url %>/vendor/showup/showup.css"> +<link rel="stylesheet" href="<%- url %>/css/mermaid.css"> <link rel="stylesheet" href="<%- url %>/css/markdown.css"> <link rel="stylesheet" href="<%- url %>/css/index.css"> <link rel="stylesheet" href="<%- url %>/css/extra.css"> diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index 9dd61d7d..d21ec612 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -24,6 +24,7 @@ <link rel="stylesheet" href='<%- url %>/css/github-extract.css'> <link rel="stylesheet" href='<%- url %>/css/gist.css'> <link rel="stylesheet" href='<%- url %>/vendor/highlight-js/github-gist.min.css'> + <link rel="stylesheet" href="<%- url %>/css/mermaid.css"> <link rel="stylesheet" href='<%- url %>/css/markdown.css'> <link rel="stylesheet" href='<%- url %>/vendor/emojify/css/emojify.min.css'> <link rel="stylesheet" href='<%- url %>/css/extra.css'> @@ -98,6 +99,7 @@ <script src="<%- url %>/vendor/sequence-diagrams/sequence-diagram-min.js" defer></script> <script src="<%- url %>/vendor/flowchart/release/flowchart.min.js" defer></script> <script src="<%- url %>/vendor/viz.js/viz.js" defer></script> +<script src="<%- url %>/vendor/mermaid/dist/mermaid.min.js" defer></script> <script src="<%- url %>/vendor/md-toc.js" defer></script> <script type="text/x-mathjax-config"> MathJax.Hub.Config({ messageStyle: "none", skipStartupTypeset: true ,tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], processEscapes: true }}); |