diff options
author | Yukai Huang | 2016-10-11 17:53:46 +0800 |
---|---|---|
committer | Yukai Huang | 2016-10-11 17:53:46 +0800 |
commit | 4a6903c91b3b8502585d6e17137ef076c489ebcf (patch) | |
tree | 3c814f0043e530b05569e566cd1e8ff5acb09c78 /public/js | |
parent | 56c5378939c6498d0440b3ed76a604523678073f (diff) |
Revert customized markdown-it-mathjax plugin
Diffstat (limited to '')
-rw-r--r-- | public/js/extra.js | 2 | ||||
-rw-r--r-- | public/js/index.js | 13 | ||||
-rw-r--r-- | public/js/public.js | 13 |
3 files changed, 1 insertions, 27 deletions
diff --git a/public/js/extra.js b/public/js/extra.js index e133a810..4c4e66d6 100644 --- a/public/js/extra.js +++ b/public/js/extra.js @@ -826,7 +826,7 @@ md.use(require('markdown-it-mark')); md.use(require('markdown-it-ins')); md.use(require('markdown-it-sub')); md.use(require('markdown-it-sup')); -md.use(require('markdown-it-mathjax')); +md.use(require('../vendor/markdown-it-mathjax')); md.use(require('markdown-it-imsize')); function renderContainer(tokens, idx, options, env, self) { diff --git a/public/js/index.js b/public/js/index.js index 2d3c2965..ae823c42 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -7,19 +7,6 @@ require('bootstrap/dist/css/bootstrap.css'); require('prismjs/themes/prism.css'); require('highlight.js/styles/github-gist.css'); -require('markdown-it'); -require('markdown-it-abbr'); -require('markdown-it-footnote'); -require('markdown-it-deflist'); -require('markdown-it-mark'); -require('markdown-it-ins'); -require('markdown-it-sub'); -require('markdown-it-sup'); -require('markdown-it-container'); -require('markdown-it-mathjax'); -require('markdown-it-regexp'); -require('markdown-it-imsize'); - /* other vendors plugin */ require('gist-embed'); require('string'); diff --git a/public/js/public.js b/public/js/public.js index 69999de9..1a1e5426 100644 --- a/public/js/public.js +++ b/public/js/public.js @@ -14,19 +14,6 @@ require('bootstrap/dist/css/bootstrap.css'); require('prismjs/themes/prism.css'); require('highlight.js/styles/github-gist.css'); -require('markdown-it'); -require('markdown-it-abbr'); -require('markdown-it-footnote'); -require('markdown-it-deflist'); -require('markdown-it-mark'); -require('markdown-it-ins'); -require('markdown-it-sub'); -require('markdown-it-sup'); -require('markdown-it-container'); -require('markdown-it-mathjax'); -require('markdown-it-regexp'); -require('markdown-it-imsize'); - /* other vendors plugin */ require('gist-embed'); require('string'); |