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 screws up formatting using `[...]` and `[...]+` buttons #132

Open badlydrawnrob opened 7 months ago

badlydrawnrob commented 7 months ago

Update 4th July 2024: Still doesn't seem to be resolved Seems to be a problem when selecting text right to the end of a line. If you select text before the end of a line, it seems fine.

This makes it harder to do some nice things with the code blocks. Anki buttons break formatting of the Skylighting fenced code blocks. Logged a suggestion here.

Temporary fix: Select "Rich Text" view and write cloze deletion tag manually. It seems safer than using the buttons.

https://github.com/badlydrawnrob/anki/assets/1176875/39b57600-fa2d-4940-82db-23f6f6674766