Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 466 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 466 Bytes

hugx/math

Renders math equations LaTeX to MathML using Hugo's default embedded KaTeX engine, following the instructions on Hugo's docs.

Installation

Import the module from GitHub repository.

# hugo.yaml
module:
  imports:
    - path: github.com/tnlx/hugx-math

Usage in *.md

{{ < hugx/math > }}

\begin{alignat}{2}
   10&x+&3&y=2\\
   3&x+&13&y=4
\end{alignat}

{{ </ hugx/math > }}