Rocket.chat.reactnative: [NEW] KaTeX Support

Created on 6 Jul 2017  路  17Comments  路  Source: RocketChat/Rocket.Chat.ReactNative

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.

馃帀 feature 馃憢 help wanted

All 17 comments

Hello @jGleitz, thanks for submitting issues!

This seems to be a good feature request :+1:

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!

Desktop:
screen shot 2018-10-13 at 4 31 58 am
iOS
img_5266
Android
20181012_193719

https://apis.reiske.tech/math

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.

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)
TIA

@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.
Could you please type here an example so that I am not misunderstanding the KaTex syntax?
Thank you

The example up in this thread here works for me with the same syntax:

Bildschirmfoto 2020-05-28 um 14 44 02
But it's also possible to set the syntax from \[KaTeX Block\] to $$KaTeX Block$$:
Bildschirmfoto 2020-05-28 um 14 45 05

If you can't get KaTeX working at all, this is probably more a question for Rocket.Chat itself, and not for the mobile app.

Thanks but the syntax with the square bracked does not work.
I enabled the Dollar syntax and it works.
The strange thing is that when I enable the Dollar syntax the square bracket syntax gets swallowed.

It may be a bug. I am using version 3.2.2

Upvoting this for implementation

Was this page helpful?
0 / 5 - 0 ratings

Related issues

monarkh-karina picture monarkh-karina  路  4Comments

ggazzo picture ggazzo  路  6Comments

diegolmello picture diegolmello  路  4Comments

djnews24 picture djnews24  路  4Comments

LeeThompson picture LeeThompson  路  4Comments