From 218761d6a1bee821ea2caa3390fca95827c21e09 Mon Sep 17 00:00:00 2001 From: Cheng-Han, Wu Date: Tue, 15 Mar 2016 10:53:45 +0800 Subject: Updated to support mathjax without cdn --- bower.json | 3 ++- public/views/foot.ejs | 9 +++++---- public/views/pretty.ejs | 9 +++++---- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/bower.json b/bower.json index 904e58cd..f2fc36e9 100644 --- a/bower.json +++ b/bower.json @@ -44,6 +44,7 @@ "markdown-it-ins": "^2.0.0", "markdown-it-sub": "^1.0.0", "markdown-it-sup": "^1.0.0", - "mermaid": "^0.5.8" + "mermaid": "^0.5.8", + "MathJax": "^2.6.1" } } diff --git a/public/views/foot.ejs b/public/views/foot.ejs index 06c194bd..3e104773 100644 --- a/public/views/foot.ejs +++ b/public/views/foot.ejs @@ -1,3 +1,6 @@ + <% if(useCDN) { %> @@ -7,6 +10,7 @@ + <% } else { %> @@ -16,6 +20,7 @@ + <% } %> @@ -66,10 +71,6 @@ - - diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index d21ec612..785c32b4 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -67,14 +67,19 @@ + <% if(useCDN) { %> + <% } else { %> + <% } %> @@ -101,10 +106,6 @@ - - -- cgit v1.2.3