flashcards-obsidian icon indicating copy to clipboard operation
flashcards-obsidian copied to clipboard

Multiple ==cloze== all same cloze {{c1::cloze}}

Open Seedling12 opened this issue 2 years ago ā€¢ 3 comments

NOTE: Do you have the last version of the plugin? If not that's probably the problem

Describe the bug I want to use the highlight function to make multiple cloze deletions in one card. When I do, all the cloze delections are the same cloze, c1.

To Reproduce

  • Steps to reproduce the behavior:

cards-deck: Test

{1: A} {2: B} {3: C} {4: D} ==E== ==F== ==G== ==H==

Expected behavior Anki: {{c1:: A}} {{c2:: B}} {{c3:: C}} {{c4:: D}} {{c1:: E}} {{c2:: F}} {{c3:: G}} {{c4:: H}}

Screenshots My Note: image

Anki card with curly: image

Anki card with ==: image

Markdown used

---
cards-deck: Test
---
{1: A} {2: B} {3: C} {4: D}
==E== ==F== ==G== ==H==

Additional context Could anki addons be a problem?

Seedling12 avatar Jul 30 '22 08:07 Seedling12

Thank you for taking the time to report the issue and help me to make the project better! šŸ™‚

github-actions[bot] avatar Jul 30 '22 08:07 github-actions[bot]

Iā€˜m not sure this is a bug, maybe it is just a design decision? I personally would however also really like to see different highlights being assigned to different cloze deletions.

cnicolai avatar Jul 31 '22 11:07 cnicolai

I'd say it's not a bug, but a feature. If you wanted to create a cloze deletion flash card with more than one cloze you always had to use

This is my {1:first} cloze of {1:multiple} clozes

instead of

This is my ==first== cloze of ==multiple== clozes

Might be worth thinking about using a config setting here, if multiple == should either be treated as the same or different clozes.

putzwasser avatar Oct 20 '22 14:10 putzwasser