AnkiWeb
- Rating
- 1 (π 1 Β· π 0)
- Updated
- 2026-08-18
- Anki versions
- 2.1.1~
- Description language
- en
AnkiWeb addon 540440922
Highlights and formats selected text during Anki review via customizable keyboard shortcuts, including colors, bold, superscript, formatting removal, and auto-save.
Open on AnkiWeb GitHub Ask about alternatives
active
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.1 | + | 2026-08-18 |
Loadingβ¦
Applies customizable keyboard shortcuts to add text colors and background highlights to selected text in Anki's editor, supporting multiple styling actions per shortcut.
Quickly highlight note text with background and foreground colors and an optional keyboard shortcut, configurable through Tools β Add-ons.
Copies pre-formatted information from selected Anki Browser notes using customizable templates, with field autocomplete, tag support, and configurable hotkeys.
Assign shortcut keys to set selected editor text to specific colours, customizable via Config in Anki 2.1 (source edit in Anki 2.0).
Highlights selected text on Anki's review screen with four customizable colors, saving changes permanently as HTML that syncs and remains visible on mobile.
Edit, format, and cloze note fields directly in the reviewer via a floating toolbar, field editor, palettes, and remappable shortcuts.
<p align="center"> <h1 align="center">β‘ Quick Highlight</h1> <p align="center"> <strong>Highlight and format text during Anki review with keyboard shortcuts.</strong> </p> <p align="center"> Select text β press a shortcut β done. No editor, no color picker, no clicks. </p> <p align="center"> <a href="#installation">Installation</a> β’ <a href="#usage">Usage</a> β’ <a href="#shortcuts">Shortcuts</a> β’ <a href="#configuration">Configuration</a> β’ <a href="#contributing">Contributing</a> </p> </p>
When reviewing Anki cards, highlighting a word requires way too many steps:
<p align="center"> <img src="screenshots/old_workflow.png" alt="The old tedious workflow" width="700"> <br> <em>The old way β Edit Current β Color Picker β OK. Tedious.</em> </p>
With Quick Highlight, it's just:
Ctrl+Shift+G)<p align="center"> <img src="screenshots/review_card.png" alt="Highlighted card during review" width="700"> <br> <em>Words highlighted in green and yellow β applied instantly during review.</em> </p>
xΒ²) for annotations or referencesFind your Anki addons folder:
~/.local/share/Anki2/addons21/ (Linux), %APPDATA%\Anki2\addons21\ (Windows), ~/Library/Application Support/Anki2/addons21/ (macOS)Clone or download this repo into the addons folder:
cd ~/.local/share/Anki2/addons21/
git clone https://github.com/samidunimsara/Quick-Highlight.git quick_highlight
Or download the ZIP, extract it, and rename the folder to quick_highlight.
Restart Anki
<!-- Install from AnkiWeb: Quick Highlight -->
<!-- Or paste code XXXXXXXX in Tools β Add-ons β Get Add-ons -->
| Shortcut | Action | Description |
|---|---|---|
Ctrl+Shift+G |
Highlight Green | Colors selected text green |
Ctrl+Shift+Y |
Highlight Yellow | Colors selected text yellow |
Ctrl+Shift+R |
Highlight Red | Colors selected text red |
Ctrl+Shift+O |
Highlight Orange | Colors selected text orange |
Ctrl+Shift+B |
Bold | Makes selected text bold (<b>) |
Ctrl+= |
Superscript | Makes selected text superscript (<sup>) |
Ctrl+Shift+V |
Paste as Superscript | Pastes clipboard text in small font after selection |
Ctrl+Shift+L |
Color Picker | Opens color picker dialog for custom colors |
Ctrl+Shift+X |
Remove Formatting | Strips colors/bold/superscript |
Tip: All shortcuts and colors are customizable β see Configuration below.
Go to Tools β Add-ons β Quick Highlight β Config to customize:
{
"colors": {
"green": "#00ff00",
"yellow": "#ffff00",
"red": "#ff0000",
"orange": "#ffa500",
"blue": "#00bfff"
},
"shortcuts": {
"green": "Ctrl+Shift+G",
"yellow": "Ctrl+Shift+Y",
"bold": "Ctrl+Shift+B",
"red": "Ctrl+Shift+R",
"orange": "Ctrl+Shift+O",
"remove": "Ctrl+Shift+X",
"picker": "Ctrl+Shift+L",
"superscript": "Ctrl+=",
"paste_superscript": "Ctrl+Shift+V"
}
}
"colors":"pink": "#ff69b4"
"shortcuts":"pink": "Ctrl+Shift+I"
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Reviewer WebView β
β β
β You select "treibt das RohΓΆl" and press Ctrl+Shift+G β
β β
β ββββββββββββββββββββββββββββββββ β
β β JavaScript (injected) β β
β β 1. Gets selected text β β
β β 2. Wraps in <span> visually β β
β β 3. Sends pycmd() to Python β β
β ββββββββββββββββ¬ββββββββββββββββ β
β β β
β βΌ β
β ββββββββββββββββββββββββββββββββ β
β β Python Addon β β
β β 1. Finds matching note field β β
β β 2. Wraps text with HTML β β
β β 3. Saves to database β β
β β 4. Refreshes card display β β
β ββββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Anki Version | Status |
|---|---|
| 2.1.50+ | β Fully supported |
| 2.1.x (older) | β
Supported (uses legacy note.flush() fallback) |
| AnkiMobile | β Highlights visible (addon runs on desktop only) |
| AnkiDroid | β Highlights visible (addon runs on desktop only) |
quick_highlight/
βββ __init__.py # Main addon logic
βββ manifest.json # Addon metadata
βββ config.json # Default configuration
βββ config.md # Config documentation (shown in Anki)
βββ screenshots/ # Images for README
βββ LICENSE # MIT License
βββ README.md # This file
Contributions are welcome! Feel free to:
See CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License β see the LICENSE file for details.
<p align="center"> Made for language learners who highlight a lot of words. ππ </p>