matthayes/anki_cloze_anything

New option: don't reveal all on back of card

matthayes opened this issue · 5 comments

It would be useful to have an option to only reveal the current cloze being tested on the backside. For example, with this option, if a card has c1 through c5, you're viewing card 3 (i.e. testing c3), and you are revealing 1 before and 1 after, then:

  • Front side shows c2 and c4, with c3 hidden and highlighted as the part being tested, and c1 and c5 are both hidden.
  • Back side shows c2, c3 and c4, with c1 and c5 both still hidden.

What would be potential use cases? I can think of memorizing lines of a poem, but then you don’t want to show c4 on the front side.

This was a feature request from someone. But for myself I can think of at least one case where this is useful. Often there is a table from a grammar book showing conjugation of different verbs, adjectives, etc. that I want to test myself on, where each row is a different verb/adjective/etc. Now I could make a note for each row, but often I find it easier to make a single note for the whole table and generate a card per row via cloze on the row's cells. This feature would be useful because I could avoid revealing the other rows, which are not relevant to the current card.

But then why would you want to show c2 and c4 on the front?

Maybe you need some context on the front side. But that doesn't mean you want to see everything else on the backside.

For my table example, I have data-cloze-show-before and data-cloze-show-after both set to none because I don't want any context from the other clozes. But I don't want to see the other clozed parts on the backside either.

Is this possible at all yet? This is my dream setup, but unfortunately I'm no coder.
I am trying to setup cards to act like this:
image
I would love for the answers after each colon to be clozed, only questioning one at a time, and only revealing one at a time. I don't need context on either side, it's more of an alternative to having multiple basic cards.
If this is possible I would love to learn how! Thanks for all your work on Cloze Anything Matt!