Latex not working with cloze

Hey everyone. I have created many flashcards using Latex equations in cloze ({{c1::}}). The problem is that as soon as I review my cards, it displays something like “my code that should be in the blank”, then […], and when I click to reveal the equation appears normally in blue but the code of this same equation is still visible. I tried many things but nothing seems to work and I can’t find any reply to this exact problem. For context, I always use “online mathjax”, but if I try typing \( \) for example, it replaces automatically with the same mathjax block.

My problem is also that it would take me hours to edit each card manually, for an exam in a week. I give you pictures of a card having this problem, I’d love some help!!

Is it because of }} in the MathJax? As explained in the manual, you have to escape these double curly braces by adding a space between them, } }.

If that’s not it, please post the contents of the HTML fields as text in code blocks[1] so that we can better understand the problem.


  1. in the visual editor on this site, click on the plus button then select “preformatted text”, or in the text editor, surround the text with triple backticks ```. ↩︎

3 Likes