-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[NEW] KaTeX Support #1973
Comments
Hello @jGleitz, thanks for submitting issues! This seems to be a good feature request 👍 |
Any progress on this? Reading chat on the mobile is super ugly because of all the Katex formatting that is not coming over. |
@markbolo2 Do you have any idea how this could be implemented? |
Ahh! Please add support for KaTeX on the Android mobile app! |
Does anybody monitors this space? No comments from the owners of the product.. :( |
@naidu Yes, we monitor this all the time... PR are welcome for this issue! Thank you! 👍 |
Is this codebase for RocketChat Experimental or basic version? |
No, this is the native version from Play Store. |
This is still an issue with Android and Windows applications. |
Not only, also GNU/Linux app is affected. |
Hey, I transferred this issue to the new repo. |
Is this feature working on any client? I can't make it work on any client (web, desktop and android) |
@raffaeler Yes, it's working for me in the web version. (It has to be enabled in the settings under messages.) But it's not supported in the mobile app. |
thank you @phriedrich. The option is enabled in Messages but I can't make it work from the web. |
Thanks but the syntax with the square bracked does not work. It may be a bug. I am using version 3.2.2 |
Upvoting this for implementation |
I am a bit confused: Why would you implement this and display it in the UI directly below the chat input at the same level as bold, italic or inline code when it is basically broken in all of your own mobile clients? |
Hi, So the situation here is complex. First thing to note is that the mobile app is not 'broken'. However, the specific functionality you require is not yet implemented. It's not implemented because Katex uses web stuff to render the math operations. As a result we'd need to either create a native module to do that, or try to embed a webview into the message component. It is on our long term road map to look at this, but it is not at top of the list for priority right now I'm afraid. I'll leave this issue open accordingly. Thanks. |
There's modules that could render KaTeX without using webview but svg instead. Check https://www.npmjs.com/package/react-native-math-view By the way, as this issue causes a mess on native clients when reading messages with KaTeX, why is it "not at top of the list for priority right now "? Looking forward to a fix! |
Possibly related to RocketChat/fuselage#775? |
I am using the RocketChat Android app (version 4.35.1.37443) and latex formulas are not rendered on the map (neither with the syntex ( ) nor with [ ]). While it is rendered on the web app, so this does not seem to a problem with the setting of our server (provided by our university). @GleidsonDaniel I am confused, which app/device are you using? (My server is chat.univ-lille.fr and the server version is 3.15.2). |
@pegonma the problem in your cause is probably your server version. |
@GleidsonDaniel Is it really possible? That the server allows the desktop client to render KaTeX formulas but not the mobile app? Can you tell me what is the latest server version? So I can ask the IT of my uni to update it. |
@pegonma After version 5.0 of the server we changed the way messages are rendered and tagged and in this version we added support for katex. So, as I said, to work katex in the mobile app you must have a server running above version 5.0 and as your server is in version 3.15.2 it will not work. |
@GleidsonDaniel thank you very much for your answer! |
Rocket.Chat supports posting KaTeX, which will get rendered nicely in the conversation. For us, this is an outstanding feature.
Unfortunately, when posting KaTeX in the native app (e.g.
$x$
or\[x\]
), it is not rendered as KaTeX but stays as it is.The text was updated successfully, but these errors were encountered: