badlydrawnrob / anki

Learn to code with Anki — flashcards and themes for all learning levels. Master your programming language of choice!
MIT License
719 stars 61 forks source link

Anki cloze field `[...]` button screws up Pandoc's code #131

Closed badlydrawnrob closed 7 months ago

badlydrawnrob commented 7 months ago

This means it makes it harder to do some fancy stuff with highlighting of <span> .numberLines. You have to manually correct the code 💩 (or not if you're too lazy to do that, like me)

Possible fix: Just write the {{c1::cloze}} around the line of code manually while in Rich Text mode in the Anki app.

https://github.com/badlydrawnrob/anki/assets/1176875/a3416785-70a2-4d21-a81b-6f43fd8563a6