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
symbol: '#'
style: header-anchor
math:
katex:
css: 'https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.css'
options:
throwOnError: false
mathjax:
css: 'https://cdn.jsdelivr.net/npm/hexo-math@4.0.0/dist/style.css'
options:
conversion:
display: false
tex:
svg:
mathjax:
tags: none
single_dollars: true
cjk_width: 0.9
normal_width: 0.6
append_css: true
every_page: false
plantuml:
# Local or PlantUMLServer.
render: "PlantUMLServer"

View File

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