A hexo plugin which renders equations into the generated html files.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
index.js
package.json

README.md

hexo-static-math

A hexo plugin which renders math expressions into the generated html files.

Why use this

Math expressions are statically rendered into html files offline, so it's no need to load mathjax script from CDN when openning the page.

How to install

npm install hexo-static-math --save

Usage

  • Display as block: {% math %} h_\theta(x) = \theta^Tx {% endmath %}
  • Display inline: {% math inline %} blabla.. {% endmath %}

For single line expressions, you can also use `$$... $$` for block level expressions, or `$... $` for inline expressions.