Hugo includes native KaTeX: https://gohugo.io/functions/transform/tomath/
The docs recommend setting up KaTeX CSS (which requires either a CDN link or Node), but by changing output to 'mathml,' you can have the browser render equations with zero dependencies.