AnkiDocComments - tooltip inline comments to your cards right inside the Anki Re

AnkiWeb addon 1367430865

Adds tooltip-style threaded comments to highlighted card text in the Reviewer, stored as standard HTML within note fields, with rich formatting and read-only mobile support via an injected template snippet.
AI-generated summary; may contain mistakes.

note-managementformattingcard-templatesmobile-compatible

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (👍 0 · 👎 0)
Updated
2026-11-23
Anki versions
26.09.4~
License
MIT (from the AnkiWeb description)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JavaScript, CSS, Vue, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-11-24 (7 days before the snapshot).
  • Commits in the last year: 8.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

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

Loading…

Similar addons

Inline CSS Cleanup

Extracts and deduplicates inline CSS from selected note fields, moves it to a shared media file, then inserts import links—optionally handling repeated inline styles, base64 images and Yomitan media references—to shrink collections.

sync-integrationnote-managementformattingbackup-maintenance

3 votes 44% approval 👍 3 · 👎 0 ⭐ 9 Anki 23.12~ Updated 2026-09-14

Description

AnkiDocComments

AnkiDocComments - tooltip inline comments to your cards right inside the Anki Reviewer.

I built this because throwing notes into an Extra field gets messy fast on long cards—sometimes you just want to highlight a specific phrase and attach a note to it. Comments are saved directly inside the note's field HTML, so everything syncs over AnkiWeb and stays readable on mobile without any external database.

What it does

image image

On Desktop:

  • Select text in the Reviewer (front or back), right-click, and pick Add comment.
  • Format notes with bold, italics, underline, lists, blockquotes, links, text color, and click-to-reveal spoilers.
  • Reply in threads, edit or delete individual replies, delete the whole thread, or mark it as resolved.
  • Open comments on hover or click (configurable), with light and dark mode support.
  • Uses your current Anki profile name as the author. image

On AnkiDroid or AnkiMobile (read-only):

  • Tap highlighted text to read threads, reveal spoilers, and follow dark mode styling.
  • Runs via a snippet injected into your card template (no mobile add-on needed, and automatically skips on desktop).

Installation

image

Usage

Desktop

Highlight text -> right-click -> Add comment -> save.

If the exact phrase you selected shows up in multiple fields on the same note, a dropdown will pop up asking which field to save it to. If you want the add-on to pick the right field automatically.

Disclaimer

Because this add-on writes directly to your note fields, it's worth being clear about what happens to your data.

Your notes stay safe and portable. Everything is saved as standard HTML (<mark> and a hidden <div>) rather than a proprietary format, so uninstalling the add-on won't break your cards or lock you in. Every edit also creates an Anki undo checkpoint (Ctrl+Z / Cmd+Z), and if you injected the mobile script into a note type, you can strip it cleanly anytime via Tools → AnkiDocComments → Remove mobile script from a note type....

There are no external servers, tracking, or background syncs—everything stays inside your Anki collection and your own AnkiWeb account. Just keep in mind that your current Anki profile name is saved as the author on each comment, so anyone you export an .apkg to will see that name.

As with any add-on that modifies note data, keeping regular Anki backups is always a good idea—especially if your templates run custom JavaScript that rewrites the card DOM. This is an open-source project provided as-is under the MIT license, and future Anki updates may occasionally require adjustments.

README

AnkiDocComments

Add tooltip inline comments to your cards right inside the Anki Reviewer.

I built this because throwing notes into an Extra field gets messy fast on long cards—sometimes you just want to highlight a specific phrase and attach a note to it. Comments are saved directly inside the note's field HTML, so everything syncs over AnkiWeb and stays readable on mobile without any external database.

What it does

image image

On Desktop:

  • Select text in the Reviewer (front or back), right-click, and pick Add comment.
  • Format notes with bold, italics, underline, lists, blockquotes, links, text color, and click-to-reveal spoilers.
  • Reply in threads, edit or delete individual replies, delete the whole thread, or mark it as resolved.
  • Open comments on hover or click (configurable), with light and dark mode support.
  • Uses your current Anki profile name as the author. image

On AnkiDroid or AnkiMobile (read-only):

  • Tap highlighted text to read threads, reveal spoilers, and follow dark mode styling.
  • Runs via a snippet injected into your card template (no mobile add-on needed, and automatically skips on desktop).

Installation

image CODE: 1367430865 Targets Anki 2.1.50+ (point versions 50–65 in `manifest.json`).

Usage

Desktop

Highlight text -> right-click -> Add comment -> save.

If the exact phrase you selected shows up in multiple fields on the same note, a dropdown will pop up asking which field to save it to. If you want the add-on to pick the right field automatically.

Disclaimer

Because this add-on writes directly to your note fields, it's worth being clear about what happens to your data.

Your notes stay safe and portable. Everything is saved as standard HTML (<mark> and a hidden <div>) rather than a proprietary format, so uninstalling the add-on won't break your cards or lock you in. Every edit also creates an Anki undo checkpoint (Ctrl+Z / Cmd+Z), and if you injected the mobile script into a note type, you can strip it cleanly anytime via Tools → AnkiDocComments → Remove mobile script from a note type....

There are no external servers, tracking, or background syncs—everything stays inside your Anki collection and your own AnkiWeb account. Just keep in mind that your current Anki profile name is saved as the author on each comment, so anyone you export an .apkg to will see that name.

As with any add-on that modifies note data, keeping regular Anki backups is always a good idea—especially if your templates run custom JavaScript that rewrites the card DOM. This is an open-source project provided as-is under the MIT license, and future Anki updates may occasionally require adjustments.