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

**URL:** <https://forums.ankiweb.net/t/mathsjax-formulas-displayed-as-text-when-reviewing-but-renders-formula-when-editing-card/69882>\
**Category:** Help\
**Created:** [May 27, 2026, 10:39am UTC](https://forums.ankiweb.net/t/mathsjax-formulas-displayed-as-text-when-reviewing-but-renders-formula-when-editing-card/69882 "2026-05-27T10:39:13Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chrih1](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@Chrih1](https://forums.ankiweb.net/u/Chrih1)\
**Post date:** [May 27, 2026, 10:39am UTC](https://forums.ankiweb.net/t/mathsjax-formulas-displayed-as-text-when-reviewing-but-renders-formula-when-editing-card/69882/1 "2026-05-27T10:39:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ZornHadNoChoice](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/zornhadnochoice/32/28874_2.png) [@ZornHadNoChoice](https://forums.ankiweb.net/u/ZornHadNoChoice)\
**Post date:** [May 27, 2026, 11:18am UTC](https://forums.ankiweb.net/t/mathsjax-formulas-displayed-as-text-when-reviewing-but-renders-formula-when-editing-card/69882/2 "2026-05-27T11:18:41Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Eltaurus](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/eltaurus/32/10287_2.png) [@Eltaurus](https://forums.ankiweb.net/u/Eltaurus)\
**Post date:** [May 27, 2026, 1:22pm UTC](https://forums.ankiweb.net/t/mathsjax-formulas-displayed-as-text-when-reviewing-but-renders-formula-when-editing-card/69882/3 "2026-05-27T13:22:54Z")

</div>

> [@Chrih1](#):
>
> `\(V = V_0 e^{-\frac{t}{RC}}\)` whereas this will be rendered as a formula only when editing

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](https://docs.ankiweb.net/math.html?highlight=mathja#cloze-conflicts) – 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](https://forums.ankiweb.net/t/memrise-card-template-support-thread/34233/156), that displays both raw-code typing corrections and the rendered result.

---

<div class="post-metadata">

**Author:** ![Chrih1](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@Chrih1](https://forums.ankiweb.net/u/Chrih1)\
**Post date:** [May 27, 2026, 2:20pm UTC](https://forums.ankiweb.net/t/mathsjax-formulas-displayed-as-text-when-reviewing-but-renders-formula-when-editing-card/69882/4 "2026-05-27T14:20:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Chrih1](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@Chrih1](https://forums.ankiweb.net/u/Chrih1)\
**Post date:** [May 27, 2026, 2:21pm UTC](https://forums.ankiweb.net/t/mathsjax-formulas-displayed-as-text-when-reviewing-but-renders-formula-when-editing-card/69882/5 "2026-05-27T14:21:09Z")

</div>

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 }}

---

<div class="post-metadata">

**Author:** ![ZornHadNoChoice](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/zornhadnochoice/32/28874_2.png) [@ZornHadNoChoice](https://forums.ankiweb.net/u/ZornHadNoChoice)\
**Post date:** [May 27, 2026, 2:45pm UTC](https://forums.ankiweb.net/t/mathsjax-formulas-displayed-as-text-when-reviewing-but-renders-formula-when-editing-card/69882/6 "2026-05-27T14:45:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Eltaurus](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/eltaurus/32/10287_2.png) [@Eltaurus](https://forums.ankiweb.net/u/Eltaurus)\
**Post date:** [May 27, 2026, 4:48pm UTC](https://forums.ankiweb.net/t/mathsjax-formulas-displayed-as-text-when-reviewing-but-renders-formula-when-editing-card/69882/7 "2026-05-27T16:48:45Z")

</div>

> [@Chrih1](#):
>
> its just displaying the text rather than the rendered formula

Can you look into the source code of a rendered card to check what happens to the formula? ([this add-on](https://ankiweb.net/shared/info/31746032) 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?

---

<div class="post-metadata">

**Author:** ![Chrih1](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@Chrih1](https://forums.ankiweb.net/u/Chrih1)\
**Post date:** [May 28, 2026, 12:43pm UTC](https://forums.ankiweb.net/t/mathsjax-formulas-displayed-as-text-when-reviewing-but-renders-formula-when-editing-card/69882/8 "2026-05-28T12:43:02Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/b/2/b270e78148cedcce8cac445b1fbe2fb8a0635a7f.png)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.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/4/f/4f9e78900edbad9483ecd796254fb63977478c24.png)

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [May 28, 2026, 2:55pm UTC](https://forums.ankiweb.net/t/mathsjax-formulas-displayed-as-text-when-reviewing-but-renders-formula-when-editing-card/69882/9 "2026-05-28T14:55:18Z")

</div>

> [@ZornHadNoChoice](#):
>
> 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?

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.

---

<div class="post-metadata">

**Author:** ![ZornHadNoChoice](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/zornhadnochoice/32/28874_2.png) [@ZornHadNoChoice](https://forums.ankiweb.net/u/ZornHadNoChoice)\
**Post date:** [May 28, 2026, 3:13pm UTC](https://forums.ankiweb.net/t/mathsjax-formulas-displayed-as-text-when-reviewing-but-renders-formula-when-editing-card/69882/10 "2026-05-28T15:13:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [June 27, 2026, 3:13pm UTC](https://forums.ankiweb.net/t/mathsjax-formulas-displayed-as-text-when-reviewing-but-renders-formula-when-editing-card/69882/11 "2026-06-27T15:13:58Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
