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

Render Latex in text/latex output fields #48

Merged
merged 2 commits into from
Jan 19, 2024

Conversation

roman-mibex-2
Copy link

Latex in Markdown fields is already converted.
Do the same conversion for text/latex output
fields, if the Katex AutoConvert library is present.

Latex in Markdown fields is already converted.
Do the same conversion for text/latex output
fields, if the Katex AutoConvert library is present.
@roman-mibex-2
Copy link
Author

roman-mibex-2 commented Aug 2, 2023

Alternatives not taken: My first attempt was to make the Latex function user configurable, so a library user can plug in the Latex renderer. Then I've noticed that the library already does Katex/AutoKatex detection and support. So, if feels more natural to build upon that support, instead of each library user having to wire up functions.

Note: This contains the XSS fix of this PR #47. Can rebase it against that if that is merged first.

@jsvine jsvine merged commit be84a6a into jsvine:master Jan 19, 2024
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

Successfully merging this pull request may close these issues.

2 participants