Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request:math #362

Open
ilemhadri opened this issue May 10, 2022 · 4 comments
Open

Feature request:math #362

ilemhadri opened this issue May 10, 2022 · 4 comments

Comments

@ilemhadri
Copy link

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.

@garrison
Copy link

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.

@MorganBergen
Copy link

My latex injection won't render through grip, but it will render on actual github

actual github

Screenshot 2022-11-29 at 7 45 21 AM

local host

Screenshot 2022-11-29 at 7 45 25 AM

@Antonio-R1
Copy link

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.

@xrchz
Copy link

xrchz commented May 8, 2024

This is already requested in the issue #208

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants