diff --git a/bower.json b/bower.json index 904e58cd4..f2fc36e95 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 06c194bd5..3e1047738 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 d21ec6124..785c32b42 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -67,14 +67,19 @@ + <% if(useCDN) { %> + <% } else { %> + <% } %> @@ -101,10 +106,6 @@ - -