1.在hexo/_config.yml末尾添加一段代码
1 | math: |
2.修改next/_config.yml中mathjax的设置
1 | # Math Formulas Render Support |
注意:如果per_page:false则md文件前面要加上mathjax:true
3.额外装hexo-filter-mathjax
$ npm i hexo-filter-mathjax


1 | math: |
1 | # Math Formulas Render Support |
注意:如果per_page:false则md文件前面要加上mathjax:true
$ npm i hexo-filter-mathjax