-
在yilia主题文件夹下的config文件中设置
mathjax: true -
一些网页无法渲染的公式
在\前_后^后都放个空格
| 网页上无法渲染:
|
在后面的下标ij的下划线前加上空格
|
| 用左括号并列的公式无法渲染:
|
使用cases,并用html换行:
|
-
公式无法换行:
-
cd blog npm uninstall hexo-renderer-marked npm install hexo-renderer-marked@1.0.0- 第564行 - ```bash inline._escapes = /\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g; 改成 inline._escapes = /\\([!"#$%&'()*+,\-./:;<=>?@\[\]^_`{|}~])/g;1
2
3
4
5
6
7
8
9
- 编辑 blog/node_modules/marked/lib/marked.js
- 第539行
- ```bash
escape: /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,
改成
escape: /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]^_`{|}~])/,
-