Fix Clozes

AnkiWeb addon 938189964

Fixes clozes partially enclosed by HTML tags, converting them so Anki can highlight text correctly, though nested clozes remain unsupported.
AI-generated summary; may contain mistakes.

formattingclozebugfix-workaround

Open on AnkiWeb GitHub Forum topic Ask about alternatives

AnkiWeb

Rating
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2023-09-14
Anki versions
2.1.66~
Description language
en

Maintenance

abandoned

  • Last update or commit was 944 days before the snapshot (2024-03-01).
  • The repository has 1 test files.
  • The repository has 2 GitHub Actions workflows.

GitHub

Repository
abdnh/anki-fix-clozes Β· more by abdnh
Stars
⭐ 0 · forks 0 · open issues 1
Last commit
2024-03-01
License
AGPL-3.0
Languages
Python, HTML, Makefile
Tests
1

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.12.1.66+2023-09-14
History across monthly snapshots

Loading…

Similar addons

Highlight Target Word

Highlights target words in Japanese sentences by enclosing them with bold tags, using configurable expression, reading, and sentence fields.

note-managementformatting

Rating 6 πŸ‘ 4 Β· πŸ‘Ž 2 ⭐ 2 Anki 2.1.66~ Updated 2023-09-10
Quick Format--harel

Adds right-click review formatting for color, bold, and Cloze creation, with configurable buttons, undo checkpoints, local-only processing, and strict Cloze conversion limits.

review-flowformattingcloze

Rating 0 πŸ‘ 0 Β· πŸ‘Ž 0 Anki 2.1.2~ Updated 2026-07-19

README

Fix Clozes

This Anki add-on tries to fix various issues causing clozes not to function properly.

At the moment, the add-on only fixes the case where there are clozes partially enclosed by HTML tags (which will cause Anki to not properly highlight the text in blue). For example, the text

hello <span>world {{c1::</span>test}}

will be converted to

hello <span>world </span>{{c1::test}}

Known Issues

Nested clozes are not supported at the moment and the add-on will probably fail to fix issues in them.

Download

You can download the add-on from AnkiWeb: 938189964

Changelog

See CHANGELOG.md for a list of changes.

Support & feature requests

Please post any questions, bug reports, or feature requests in the support page or the issue tracker.

If you want priority support for your feature/help request, I'm available for hire. You can get in touch from the aforementioned pages, via email or on Fiverr.

Support me

Consider supporting me if you like my work:

<a href="https://github.com/sponsors/abdnh"><img height='36' src="https://i.imgur.com/dAgtzcC.png"></a> <a href="https://www.patreon.com/abdnh"><img height='36' src="https://i.imgur.com/mZBGpZ1.png"></a> <a href="https://www.buymeacoffee.com/abdnh" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-blue.png" alt="Buy Me A Coffee" style="height: 36px" ></a>

I'm also available for freelance add-on development on Fiverr:

<a href="https://www.fiverr.com/abd_nh/develop-an-anki-addon"><img height='36' src="https://i.imgur.com/0meG4dk.png"></a>