We should consider [server side rendering](https://gohugo.io/functions/transform/tomath/) of math equations via hugo's built-in KaTeX rendering engine. **Advantages:** - server side rendering (instead of client side rendering) - no JS needed for math content - typesetting of formulae using LaTeX standard syntax, no escaping of delimiters needed (already in place) - no need to activate math mode in frontmatter any more - internal rendering engine supports rendering of chemical equations out of the box (as of hugo version 0.144.0) - no need to include KaTeX dependencies any more