MathsJax formulas displayed as text when reviewing, but renders formula when editing card

Using Mac Version of Anki

Problem: On some cards where I am using MathsJax, the formula is rendered correctly when editing the card. However, when I am reviewing/studying a card, the formula is displayed as the text string. i.e. on answer side of card: \(V = V_0 e^{-\frac{t}{RC}}\) whereas this will be rendered as a formula only when editing.

Things I have tried: Closing and reopening anki

Trying both delimiters \( \) and \[ \], both experience same issue

Deleting formula and typing back in

Does anyone know why this is happening. Like I said, its not for every card, but specifically only those from a single deck

MathJax doesn’t render if the field is supposed to be a “type-answer” field (i.e. if it’s like {{type:Field Name}}). Is that the issue?

Also couldn’t reproduce this with default note type (although I’m not on mac). So I suppose it’s either the type-answer issue, or you are using it in combination with something else (the double closing braces can cause an issue when used inside a cloze deletion – solved by separating them with a space).

If you need to make mathjax work with typing cards, you might want to have a look at this template, that displays both raw-code typing corrections and the rendered result.

Unfortunately not, this issue has come up in all uses in a deck. Its not just that MathsJax isn’t rendering, its just displaying the text rather than the rendered formula

There’s not typing on this card, or any other so unfortunately I don’t think this is the issue, just my use of a }}

Export a note with the problem, upload it to Google Drive, and share the link here.

Can you look into the source code of a rendered card to check what happens to the formula? (this add-on can be used to review anki’s webview). Does the mathjax not work at all, meaning there is just plain text instead of an <mjx-container> element, or is the element there but it still gets displayed like a plain text?

This what the preview when editing the card looks like, then below is what it looks like when learning the card. I appreciate your help in this matter.

You should check your card template again. That is the sort of format-stripping you’d get if you were using a type-answer field for this.

It doesn’t look like that’s the problem since only the MathJax code is rendered in a mono space font.

Again, it’d be easier if @Chrih1 just shared a sample apkg file.