Hey đź‘‹
I got a bit confused with the original Cloze Overlapper, and it felt a bit wrong to keep redundant information in our collections. The author also keeps updates for Anki 2.1 behind a paywall.
Here is a pure JavaScript version that you can paste into your card templates:
It has been tested to work on Anki (desktop), and AnkiDroid. I assume it should work everywhere indefinitely, as it's written in JavaScript only.
I hope the recording will be self-explanatory! The last two modes seem odd to me, but they were trivial to add, maybe someone will find them useful.
Reddit thread: https://old.reddit.com/r/Anki/comments/116nky2/simple_cloze_overlapper_template_for_anki_21/
A good idea is to create a new note type (based on Cloze), e.g. “Cloze (overlapping)”, copy the front and back templates from here, and add a new field to it to control the behavior per each note. The templates below assume that the field will be called “Overlapping”.
The options (separated by space, comma, pipe, etc.) are:
1
) The number of leading clozes to uncover.0
) The number of following clozes.true
) Whether to show all clozes – set to false to omit them, e.g. for long lyrics/poems.false
) Whether to reveal all clozes on the back (the ones we didn't ask for).false
) Whether to reveal all user-defined hints (placeholders).If you need an extra card that asks you for all the clozes at once, add another cloze with an unused number and ask-all
in its content. E.g. {{c99::ask-all}}
– as in the recording (thanks to /u/Spiritual_Issue7174
).