Embeds the content of another note right inside a card, as a collapsible box. The embedded note stays a note of its own: edit it in one place, and every card that embeds it always shows the current version.
Syntax
![Title|nid1234567890123] β closed box with the content of that note
!+[Title|nid1234567890123] β the same box, open
!=[Title|nid1234567890123] β only the content, no box; a one-line note flows right into your sentence
!*[Title|nid1234567890123] β list item: the title becomes the item, the note's list hangs below it
<div class="ne-slot">[Title|nidβ¦]</div> β only the content plus a context parameter, for generated cards with their own box design
Works together with Anki Note Linker
- The syntax is the Note Linker link format with a leading
!, so in the editor it stays a regular link (double-click opens the note) and shows up in the link graph
- In the reviewer, the previewer and the card layout screen the content is inserted; the title toggles the box, a small β opens the embedded note
- Without Note Linker the add-on renders its own links, which open the note in the Browser
Behaviour
- Embeds inside embedded notes are expanded too (depth limit), cycles are detected and shown as a notice
- Field to embed is configurable (default: Antwort / Back / RΓΌckseite / Answer, per note type if needed)
- Scripts and sound tags are removed from embedded content, cloze markup is shown as text
- ids, labels and radio groups are made unique per embed, so interactive content keeps working when embedded
- Style blocks are moved to the top and each one is kept only once
- Optional context per embed (
data-ne-ctx) lets the embedded note adapt its display via CSS
- Nothing is written to your collection β content is inserted while the card is shown
Configuration (Tools β Add-ons β Config)
embed_fields, embed_fields_by_notetype, fallback_field
open_by_default, link_style, link_icon, link_mode
max_depth, max_embeds_per_card, lazy_load
strip_scripts, strip_sound, reveal_cloze, prefix_ids, dedupe_styles, inject_css
Note: AnkiDroid, AnkiMobile and AnkiWeb do not run add-ons; there the link text is shown instead of the content.
Developed for modern Anki (Qt6), 23.10 and later.
Source & issues
https://github.com/david-becher/anki-note-embed
Licensed under the MIT License.