/hexo-renderer-mathjax

MathJax Renderer Plugin for Hexo

Primary LanguageJavaScriptMIT LicenseMIT

MathJax Renderer Plugin for Hexo

npm version Build Status Coverage Status Dependency Status

Add support of MathJax for Hexo.

INSTALL

$ npm install hexo-renderer-mathjax --save

Edit _config.yml:

plugins:
- hexo-renderer-mathjax

Sample

Write the following latex code:

$$
\frac{\partial u}{\partial t} = h^2 \left( \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} + \frac{\partial^2 u}{\partial z^2}\right)
$$

Then you will get:

sample