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 parser does not work properly #775

Open
GleidsonDaniel opened this issue Jul 13, 2022 · 0 comments
Open

KaTeX parser does not work properly #775

GleidsonDaniel opened this issue Jul 13, 2022 · 0 comments

Comments

@GleidsonDaniel
Copy link

Description
If you send only KaTeX it works correctly, but if you send inline it doesn't.
Only KaTeX:
Screen Shot 2022-07-13 at 16 03 13
Inline KaTeX:
Screen Shot 2022-07-13 at 16 04 04

Expect it to render like this:
Screen Shot 2022-07-13 at 16 05 27

To validate the way the render should be done use this site:
https://www.mathjax.org/#demo

Steps to reproduce
Send this message to a user:

This text includes math notations and should be wrapped correctly for $\\alpha$ and $\\beta$ within the view.
The following formula shouldn't be inline:$$x_{1,2} = {-b \\pm \\sqrt{b^2-4ac} \\over 2a}$$
However the following formula should be inline with the text: \\( a^2 + b^2 = c^2 \\)

Insert an image/gif

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