AnkiWeb
- Votes
- 0 (π 0 Β· π 0)
- Updated
- 2026-10-25
- Anki versions
- 24.11.9~
- Languages
- Python, JavaScript, CSS, JSON
- Description language
- en
AnkiWeb addon 2113208103
Adds a toolbar for highlighting selected text in yellow during review or preview and removing only its own highlights, saving changes as HTML in note fields.
Open on AnkiWeb Ask about alternatives
active
No GitHub repository linked.
| Min Anki | Max Anki | Updated |
|---|---|---|
| 24.11 | 24.11.9+ | 2026-10-25 |
Loadingβ¦
Applies color highlights, bold, superscript, and formatting removal to selected text during review via customizable keyboard shortcuts, automatically saving changes as synced HTML.
Applies customizable text colors and background highlights to selected editor text via configurable keyboard shortcuts.
Highlights selected question or answer text on the review screen via a four-color palette, saving highlights as persistent HTML with eraser and undo support.
Adds an H button to the Anki editor that highlights selected text with a yellow background.
Adds a visual settings manager for creating custom editor toolbar buttons with background and text colors, bold, italic, underline, live preview, and assignable keyboard shortcuts.
Adds customizable Markdown sticky notes to card review screens with live preview, images/GIFs, presets, templates, image/JSON export, and automatic grid layout.
Select words during review or in a card preview and click Highlight to save yellow highlighting. Select highlighted words and click Remove to remove only this add-onβs highlights. Remove does not delete words or clear other formatting.
Highlights are saved in the original note fields as HTML, survive reopening Anki, and sync with notes. Changes use Ankiβs normal undo system. The toolbar itself is not stored in notes.
Default fields: Question inside a .question element; Answer inside an .answer element. Each selector must match exactly one complete, unmodified field on that card side. The toolbar appears only on cards with configured fields.
For Basic notes with Front and Back fields, use Tools β Add-ons β this add-on β Config:
{"fields":{"Front":".question","Back":".answer"},"note_types":[]}
Front template:
<div class="question">{{Front}}</div>
Back template:
{{FrontSide}}
<hr id="answer">
<div class="answer">{{Back}}</div>
An empty note_types list permits all note types with matching fields. To restrict it, list exact note type names.
Selections must stay in one field. Cloze replacements, filtered fields, MathJax rendering, partial-field templates and scripts that rewrite text are unsupported. Text or note changes since selection are rejected before writing. Only this add-onβs highlight wrappers are removed. Back up your collection before first use of an add-on that edits notes.
Compatible with existing OGCO Persistent Highlighter markup. Do not install alongside a second copy of that add-on. Tested against Anki Desktop 24.11 APIs, with automated tests for HTML preservation, Unicode boundaries, save/remove and stale-write rejection. Newer releases have not been verified. Desktop only; saved HTML can sync to other clients.
MIT licensed. The download contains complete Python, JavaScript and CSS source, a README and LICENSE. Rename a copy of the .ankiaddon file to .zip to inspect or modify it.