Recently, I found the need to embed some LaTex equations in a Github issue and discovered that you can do this by using this HTML image tag along with the desired equation:

<img src="https://render.githubusercontent.com/render/math?math=a^{2} %2B b^{2} = c^{2}">



which should produce:



Now, you should be able to embed this anywhere!

Check out this thread to add additional formatting like superscript or fractions


Published

Mar 31, 2021