Based on this blog post
- Design your Latex formula here: https://www.codecogs.com/latex/eqneditor.php
- Encode the resulting formula as an URL: https://www.url-encode-decode.com/
- Add the encoded URL after the question mark in this URL: http://latex.codecogs.com/svg.latex?
- Add the resulting SVG as an image in the README.

Example:  renders