Add LaTeX support for hexo
||
访问
use the plugin hexo-filter-mathjax
to enable the LaTex syntax in the article.
Preparation
if you have already enabled other math rendering methods before installing this plugin, please do the following to avoid conflicts:
- Remove all other Hexo math plugins:
1 | npm un hexo-math |
- you can find more information here
Installation
1 | npm install hexo-filter-mathjax |
Usage
Set mathjax: true
in Front-matter of each article (post / page) that you would like to enable MathJax. For example:
1 | --- |
to be continued……