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

Katex not rendering \implies #62

Open
kabIndepthnotes opened this issue Mar 7, 2025 · 1 comment
Open

Katex not rendering \implies #62

kabIndepthnotes opened this issue Mar 7, 2025 · 1 comment

Comments

@kabIndepthnotes
Copy link

kabIndepthnotes commented Mar 7, 2025

I use $\implies$ a lot in my documentation as it quickly describes what I am trying to say! However the version of Katex used does not recognise it!

Steps to reproduce:

math.lit

@title math

@s this is a math statement

This is 
$e^{\pi} \implies \frac{1}{2}$

--- main.py
print("hello world")
---

compile with lit math.lit

And see the math.html file

Possible solutions:

Updating Katex from version 3 to version 16? More math functions seems to be supported on the website.

I can try to look into making a pull request (I am quite new to it and have never made a PR before).

Thank you for your time.

@kabIndepthnotes
Copy link
Author

kabIndepthnotes commented Mar 8, 2025

I have submitted a pull request. See #63 and I am happy to close this issue!

Please double check the local version copied to the weaver.lit source, https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css and especially https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js as a bad actor could add harmful code. I haven't of course but it felt right making sure!

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

1 participant