LaTeX / KaTeX code block does not parse correctly

(#1575) Bug Fixed markdown mobile

Observed behaviour

Codeblock is just the text entered, does not show the equation

Reproduction steps

  1. Type message in attachments and send in a channel (or view the message in #additional-info)

Build information

Beta 34, Version 1.0.0, Android 10 (arm64), Device samsung SM-N960U1, Locale en-US, Push fcm, Flutter 3.44.0, Dart 3.12.0

Platform

Android

Evidence

message: ```latex a^2 + b^2 = c^2 ```

Details

Expected behaviour Codeblock shows equation correctly
  1. Rex changed the status from Needs triage to Fixed

3 comments

Sign in with Fluxer to comment and vote.
Comment by loyka32
loyka32Reviewer 1 vote
Can reproduce Confirmed - Equation isn't shown, just the entered text. - Beta 2035, Version 1.0.0, Android 16 (arm64), Device samsung SM-F966B, Locale de-DE, Push unifiedpush, Flutter 3.44.0, Dart 3.12.0
Comment by Radiant Xyz
Can reproduce Confirmed; "latex" is seemingly not recognized as a valid type for the codeblock formatter used as it is shown as plain text - Beta 34, Version 1.0.0, Android 16 (arm64), Device samsung SM-S938B, Locale de-DE, Push fcm, Flutter 3.44.0, Dart 3.12.0
Comment by mesub
mesubMod 1 vote
Can reproduce CR: Canary Desktop 2026.521.203326, Web 2026.521.212604, Windows 11 10.0.26200 (x64), Electron 41.2.2, Chrome 146.0.7680.188, Node 24.14.1, Locale en-GB