[MathJAX](https://www.mathjax.org/) is a subset of LaTEX that can directly render math expressions beautifully. For example, [Github renders embedded MathJAX in Markdown as math expressions](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/writing-mathematical-expressions).