grip
grip copied to clipboard
Feature request:math
Github supports the insertion of latex into markdown, and it would be a very useful feature for grip.
Github has a hack for rendering LaTeX that essentially involves using
https://render.githubusercontent.com/render/math?math=<insert latex here>
Something like that would be great in grip
.
There is no longer any need for the hack, as GitHub now supports LaTeX equations in Markdown natively using MathJax. It would be great, however, if grip could display such equations correctly in its preview.
My latex injection won't render through grip, but it will render on actual github
actual github

local host

On GitHub a custom math-renderer
HTML element is used for rendering the mathematical expressions. I added support for the math-renderer
HTML element in my pull request in a new commit. It only works when the --user-content
option is also used as explained in the pull request, since we do not get the math-renderer
HTML elements in raw mode. The --export
option does not use the math-renderer
HTML elements in the implementation from the pull request.