LaTeX Weirdness in Version ⁨2.1.54

I’ve been using LaTeX in Anki for years. I have a note type called LaTeX configured so I can type into Anki just like into a LaTeX editor.

I recently upgraded to Anki 2.1.54 and some of my cards aren’t displaying properly. For example, I used to be able to use the “verbatim” environment like in the spoiler:



x & x<0 \

x^2 & x\geq 0\


to get output like

Screenshot from 2022-08-11 21-26-58

but now as soon as I enter the \] to match the \[, Anki seems to get “confused” and weird symbols and green text start appearing like:

Screenshot from 2022-08-11 21-29-03

and the output isn’t correct, like:

Screenshot from 2022-08-11 21-32-09

Does this have something to do with “MathJax” and can I disable MathJax?

1 Like

\[ \] is used to open a MathJax environment. I’m afraid there’s no way to turn it off at the moment, though that may come in the next update.