The HTML tag using the codecogs renderer allows for the most readable latex formula using symbols that do not need to be percent encoded in the url. In the IDE, the url may contain spaces and render just fine, but any spaces will need to be replaced by %20 for proper rendering in GitHub.
Added color inversion which will be picked up in IDE; this renders white text transparent background SVG of equations in Leap, and black text transparent background SVG of equations on Github.
The HTML tag using the codecogs renderer allows for the most readable latex formula using symbols that do not need to be percent encoded in the url. In the IDE, the url may contain spaces and render just fine, but any spaces will need to be replaced by %20 for proper rendering in GitHub.