Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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