-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Add KaTeX rendering for Org-mode files #21630
Comments
I guess the proposal should be more for Katex to work in md files not just comments. |
I think that is exactly what this issue is trying to say, but you need the knowledge what go-org is… |
I'm not sure about the support for LaTeX constructs in other plaintext markup formats Gitea supports, I just know that go-org (https://github.com/niklasfasching/go-org) is used for Org ( |
FWIW for org-mode latex I typically use dollar signs for inline ( Would be happy to see any support though, especially for |
Yea, |
That's unfortunate, though I can understand why, parsing would be wonky. Still, in my limited experience |
Feature Description
Now that KaTeX rendering for Markdown has been merged, it would be nice to extend that to Org documents too.
I've made a quick test/about document on try.gitea: https://try.gitea.io/tecosaur/testing/src/branch/main/gitea-maths-test.org
The short version is that it seems like go-org (which gitea currently uses) already identifies maths, but nothing is done with it. I would recommend targeting the following constructs:
\( inline maths \)
\[ display maths \]
\begin{env} latex env \env{env}
Screenshots
No response
The text was updated successfully, but these errors were encountered: