build:更改MathJax依赖。

This commit is contained in:
徐涛 2021-04-10 21:07:35 +08:00
parent a6d14b074f
commit d8d34287f1
2 changed files with 8 additions and 13 deletions

View File

@ -168,18 +168,13 @@ toc:
position: after position: after
symbol: '#' symbol: '#'
style: header-anchor style: header-anchor
math: mathjax:
katex: tags: none
css: 'https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.css' single_dollars: true
options: cjk_width: 0.9
throwOnError: false normal_width: 0.6
mathjax: append_css: true
css: 'https://cdn.jsdelivr.net/npm/hexo-math@4.0.0/dist/style.css' every_page: false
options:
conversion:
display: false
tex:
svg:
plantuml: plantuml:
# Local or PlantUMLServer. # Local or PlantUMLServer.
render: "PlantUMLServer" render: "PlantUMLServer"

View File

@ -15,6 +15,7 @@
"hexo": "^5.0.0", "hexo": "^5.0.0",
"hexo-admonition": "^1.1.2", "hexo-admonition": "^1.1.2",
"hexo-filter-fenced-code": "^1.0.2", "hexo-filter-fenced-code": "^1.0.2",
"hexo-filter-mathjax": "^0.6.3",
"hexo-filter-plantuml": "^2.1.0", "hexo-filter-plantuml": "^2.1.0",
"hexo-filter-sub": "^1.0.0", "hexo-filter-sub": "^1.0.0",
"hexo-filter-sup": "^1.0.1", "hexo-filter-sup": "^1.0.1",
@ -23,7 +24,6 @@
"hexo-generator-category": "^1.0.0", "hexo-generator-category": "^1.0.0",
"hexo-generator-index": "^2.0.0", "hexo-generator-index": "^2.0.0",
"hexo-generator-tag": "^1.0.0", "hexo-generator-tag": "^1.0.0",
"hexo-math": "^4.0.0",
"hexo-renderer-ejs": "^1.0.0", "hexo-renderer-ejs": "^1.0.0",
"hexo-renderer-less": "^2.0.2", "hexo-renderer-less": "^2.0.2",
"hexo-renderer-marked": "^4.0.0", "hexo-renderer-marked": "^4.0.0",