HEXO Plugins 🔗

I’m slowly starting to understand how this software works. I have also been looking around at the available plugins for it and found this interesting one called hexo-filter-mathjax. It provides rendering of math equations. Unlike the Katex.js library, this is all rendered on my local machine before I push it to GitHub. That means I don’t need to worry about a failed JS library on a visitor’s device. And, it means my site loads faster as it’s one less JS library to download. Below I wrote a few tests.

My interest in having this feature is to support some of the scientific articles I would post on rare occasions.
More information on how to write these beautiful equations can be found here:

MathJax (Server-side LaTeX) render 🔗


E(kWh) = P(W) × t(hr) / 1000

\nabla\times\vec{E}&=&-\frac{\partial B}{\partial t}\\\\
\frac{\partial E}{\partial t}\right)\\\\
Invalid environment name 'eqnarray\*'
i\hbar\frac{\partial}{\partial t}\psi=-\frac{\hbar^2}{2m}\nabla^2\psi+V\psi