Close markup removes formatting

When creating an new Anki Cloze card, I may want to highlight defined terms, and then make them part of close questions

this is harder than it needs to be

expected;

  1. type a term “price dispersion” as part of a text: “pricing: price dispersion is when customers…”
  2. select it “price dispersion”
  3. set it to bold “price dispersion”
    3.5) note: it’s still selected
  4. hit the cloze button “{{c1::price dispersion}}”
  5. expect the the term is now a bold close

actual:
the term is not bold.

expected v2 (cloze first)

  1. type a term “price dispersion” as part of a text: “pricing: price dispersion is when customers…”
  2. select it “price dispersion”
  3. hit the cloze button “{{c1::price dispersion}}”
    4.5) expected: the text price dispersion is still selected
    4.5b) actual: it’s not selected
  4. set it to bold “price dispersion”
    3.5) nothing happens - there’s no selection
  5. expect the the term is now a bold close
    5.5) actual: it’s not.

Please note this is not specific to AnkiMobile - the computer version behaves the same way. I’m afraid it’s not trivial to solve this, and the last time I tried, it introduced other problems and had to be rolled back.

1 Like