Just found this out today! You can get ChatGPT to display beautifully-formatted math equations if you inject the MathJax script into the webpage and tell ChatGPT to format its answers in LaTeX! :
10.23. MathJax for Mathematics — Building and Running an Open edX Course documentation
MathJax vertical space + too thick fraction lines - TeX - LaTeX Stack Exchange
better-react-mathjax-example-latex - Codesandbox
MathJax - Wikipedia
GitHub - phillord/mathjax-latex: Wordpress Plugin for MathJax mathematics renderer
Mathjax and LaTeX Plugins - Obsidian Hub - Obsidian Publish
How to use LaTeX in Markdown - Fabrizio Musacchio
Exploring cross-browser math equations using MathML or LaTeX with MathJax - Scott Hanselman's Blog