Renders math equations LaTeX to MathML using Hugo's default embedded KaTeX engine, following the instructions on Hugo's docs.
Import the module from GitHub repository.
# hugo.yaml
module:
imports:
- path: github.com/tnlx/hugx-math
{{ < hugx/math > }}
\begin{alignat}{2}
10&x+&3&y=2\\
3&x+&13&y=4
\end{alignat}
{{ </ hugx/math > }}