Using KaTeX in hugo

Using KaTeX in Hugo for math typesetting Rendering latex in hugo can be achieved using KaTeX. This gives us the ability to render equations like below efficiently: $\displaystyle\sum\limits_{i=0}^n i^3$ Steps to follow We want to implement it in such a way that any pages that uses math typesetting can be earmarked with math: true in front-matter and then optionally katex will render the formulas given as below: $\displaystyle\sum\limits_{i=0}^n i^3$ with:...

January 30, 2022 · 1 min · RaviKiran Kilingar