Preview any cloze number

AnkiWeb addon 915063177

Lets you preview any cloze number, not just the first, useful for conditional templates; now built into Anki since 2.1.28 and no longer updated.
AI-generated summary; may contain mistakes.

card-templatesclozeobsolete

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
5 (πŸ‘ 5 Β· πŸ‘Ž 0)
Updated
2020-02-28
Anki versions
<=2.1.26
Description language
en

Maintenance

abandoned

  • Last update or commit was 1811 days before the snapshot (2021-10-16).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.02.1.192019-09-22
2.1.202.1.262020-02-28
History across monthly snapshots

Loading…

Similar addons

Cloze (Hide All)

Hides all cloze answers except the one under review using yellow boxes, supports conditional reveals, toggle masking, and always-visible clozes.

card-templatescloze

Rating 93 πŸ‘ 76 Β· πŸ‘Ž 17 ⭐ 14 Updated 2026-05-10

README

Preview any cloze

Example

Rationale

When you edit a card template, you want to be able to preview it in real time. With Cloze deletion, by default, you can only preview the first card. That's strange, I believe.

With this add-on, you can select the cloze number you'll be previewing.

I believe that this is mostly useful if you ever use conditions, such as {{#c ... }} {{/c ...}} and {{^c ... }} {{/c ...}}, which show a different content depending on the card number.

Internal

In aqt.clayout.CardLayout, it changes the methods:

  • redraw
  • setupTopArea
  • onCardSelected
  • updateMainArea The following methods are also changed, and the previous version of the method is called.
  • __init__
  • updateCardNames

Version 2.0

None

Links, licence and credits

Key Value
Copyright Arthur Milchior arthur@milchior.fr
Based on Anki code by Damien Elmes anki@ichi2.net
License GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
Source in https://github.com/Arthur-Milchior/anki-any-cloze-in-preview
Addon number 915063177