The previous comment was about using KaTeX for pre-rendered equations.