Custom cloze markers ([[ ]], >>>) stopped working after Anki update — how to fix?

Hi everyone,

I’m using Anki 25.09.2 and I have a lot of fill-in-the-blank cards where I’ve been hiding text using custom markers like:

  • [[ ... ]] to hide parts of a sentence

  • >>> to hide everything that follows

After installing the latest Anki version, this suddenly stopped working. My cards now show everything instead of hiding the marked text. I am also not sure whether this is due to my current Add-Ons:

Has Anki changed how this is handled?

Is there a way to restore this behavior (maybe via note type templates, CSS, or an add-on), or do I need to convert everything to Anki’s built-in cloze format?

Any help would be appreciated — I have hundreds of cards like this :sweat_smile:

Thanks!

That isn’t Anki’s notation for cloze. You must have been using an add-on for that. Have you looked at the note types using that notation? Do they give any indication of what add-on you were using?

2 Likes

Replacing them should be easy with some regex. This will replace every instance of [[, ]], or >>> with Anki syntax like {{c1::...}}. Tested on AnkiDroid.

  1. Make a backup.
  2. Select the notes in the browser.
  3. Right click and choose the find & replace option.
  4. Check the regex option.
  5. Replace [[ with {{c1::.
  6. Repeat steps 2 to 4, but replace ]] with }}.
  7. Repeat steps 2 to 4, but replace >>>(\s|\S)* with {{c1::$1}}.
1 Like

Assuming you are after enabling that kind of formatting for reviews, that’s pretty much doable with a little js. But you need to reveal more about the template you are currently using and the exact effect you are trying to recreate.

2 Likes

Hi, thank you. This is the current template for the cards that are now shown different to how they were before:

That’s not a template (Vorlage), those are card options (Einstellungen). To access the template you need to click Karten instead. There should be three parts to a template: front (Vorderseite), back (Rückseite), and Styles (Stil). You can post them here, enclosing each part in ``` to make it readable.

1 Like