[ HEXO ] Writing Math Formulas In HEXO
- Reference: ShallowLearner’s Blog
- The notes covers:change the renderer in hexo, open the support of LATEX in Hexo
Change the engine
1 | npm uninstall hexo-renderer-marked --save |
Modify the escape string
- open node_modules\kramed\lib\rules\inline.js
1 | // escape: /^\\([\\`*{}\[\]()#$+\-.!_>])/, |
- restart hexo, use command hexo clean and hexo generate
Configure the theme
- open themes/next/_config.yml
- look for math and set enable: to True