From cae65192c8ceadf4a32bdf76b3fb95afd6f15757 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Sun, 28 Jan 2018 23:36:29 +0800 Subject: [PATCH] Upgrade MathJax to 2.7.2 and support AsciiMath --- package.json | 2 +- public/views/hackmd/foot.ejs | 6 +++--- public/views/pretty.ejs | 6 +++--- public/views/slide.ejs | 6 +++--- yarn.lock | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 9410778..164125b 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "markdown-it-sub": "^1.0.0", "markdown-it-sup": "^1.0.0", "markdown-pdf": "^7.0.0", - "mathjax": "~2.7.0", + "mathjax": "~2.7.2", "mermaid": "~7.1.0", "mattermost": "^3.4.0", "meta-marked": "^0.4.2", diff --git a/public/views/hackmd/foot.ejs b/public/views/hackmd/foot.ejs index fc97113..76b7e94 100644 --- a/public/views/hackmd/foot.ejs +++ b/public/views/hackmd/foot.ejs @@ -6,8 +6,8 @@ - - + + @@ -22,6 +22,6 @@ <%- include ../build/index-scripts %> <% } else { %> - + <%- include ../build/index-pack-scripts %> <% } %> diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index 91d9c36..8826bdc 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -79,8 +79,8 @@ - - + + @@ -92,7 +92,7 @@ <%- include build/pretty-scripts %> <% } else { %> - + <%- include build/pretty-pack-scripts %> <% } %> <%- include shared/ga %> diff --git a/public/views/slide.ejs b/public/views/slide.ejs index 942add4..ecc5d6a 100644 --- a/public/views/slide.ejs +++ b/public/views/slide.ejs @@ -97,8 +97,8 @@ - - + + @@ -110,7 +110,7 @@ <%- include build/slide-scripts %> <% } else { %> - + <%- include build/slide-pack-scripts %> <% } %> diff --git a/yarn.lock b/yarn.lock index 7861245..0c46590 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4443,7 +4443,7 @@ math-interval-parser@^1.1.0: dependencies: xregexp "^2.0.0" -mathjax@~2.7.0: +mathjax@~2.7.2: version "2.7.2" resolved "https://registry.yarnpkg.com/mathjax/-/mathjax-2.7.2.tgz#97d78bbebfb65a8621ce33fb7c1f10917355a878"