Color Highlighter & Remover (F2-F6)

AnkiWeb addon 1617259844

Wraps selected text in color highlight spans with F2–F4, removes formatting with F5–F6, and previews colors live in the Add window and Browser.
AI-generated summary; may contain mistakes.

formattingshortcuts

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
0 (👍 0 · 👎 0)
Updated
2026-11-10
Anki versions
26.09.4~
License
Not found (this does not mean that the addon has no license)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
JavaScript, Python, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-11-10 (21 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.5026.09.4+2026-11-10
History across monthly snapshots

Loading…

Similar addons

Insert HTML wrapper for your style

Adds buttons and customizable hotkeys to wrap selected editor text in configurable HTML tags, plus a command to remove all formatting tags.

formattingshortcuts

3 votes 44% approval 👍 3 · 👎 0 ⭐ 1 Anki 25.09.2~ Updated 2026-11-08
Browser Card Info Bar

Adds a configurable info bar to the browser, with optional background colors for suspended or high-lapse cards, deck line placement, and width settings.

shortcutsappearance

12 votes 65% approval 👍 11 · 👎 1 Anki 23.12~ Updated 2024-04-05

Description

Highlights text with customizable CSS classes (F2-F4) with live editor preview, and removes them with F5-F6.

Features

  • F2: Wraps selected text in <span class="hl-color1">.
  • F3: Wraps selected text in <span class="hl-color2">.
  • F4: Wraps selected text in <span class="hl-color3">.
  • F5: Removes formatting/spans from the selection (or current cursor position).
  • F6: Removes all formatting/spans from the field.
  • Works in the "Add" window and the "Browser" with live color preview.

Setup (Required)

To see the colors during reviews, add this to your card's Styling tab:

.hl-color1 { color: #00ff00; font-weight: bold; }
.hl-color2 { color: #00aa00; font-weight: bold; }
.hl-color3 { color: #0000ff; font-weight: bold; }

/* Optional: Dark Mode */
.nightMode .hl-color1 { color: #44ff44; }
.nightMode .hl-color2 { color: #33cc33; }
.nightMode .hl-color3 { color: #66aaff; }