AnkiWeb
- Rating
- 0 (π 0 Β· π 0)
- Updated
- 2026-08-10
- Anki versions
- 26.08~
- Description language
- en
AnkiWeb addon 2053098767
Edits card template HTML and shared CSS with live desktop/mobile previews, mirrors files for external tools, detects conflicts via three-way merge, and applies changes only after confirmation.
Open on AnkiWeb GitHub Ask about alternatives
active
| Min Anki | Max Anki | Updated |
|---|---|---|
| 25.07 | 26.08+ | 2026-08-10 |
Loadingβ¦
Adds real-time CSS/HTML color previews, click-to-pick color picker, syntax highlighting, and live card preview updates to Anki's Card Template Editor.
Upgrades Ankiβs Cards template editor with Monaco-powered syntax highlighting, autocompletion, formatting, diagnostics, themes, and preserved live preview and save behavior.
Applies beautiful custom card templates to any Note Type via themes, drag-and-drop field mapping, per-field styling, live preview, light/dark adaptation, and automatic template backups.
Processes <amd>-delimited card content as Markdown at review or in-place, with preview, batch conversion, shortcuts; currently unmaintained.
Enables copying notetype code to an HTML file in collection.media for external editing, then updating it back during review or preview, with menu and shortcut integration.
Adds an integrated CodeMirror code editor to Anki flashcards with syntax highlighting, themes, live preview, configurable languages and note types, and mobile highlighting.
Native Anki add-on for editing card template HTML and shared CSS with live mobile/desktop previews. Every selected note type is mirrored to readable files, so ChatGPT, editors, and other tools can modify templates without touching Anki's database.

front.html, back.html, styles.css, and preview-only fields.jsonAnkiConnect and Node are not runtime dependencies. Node is needed only to build package.
Default root: ~/.AnkiTemplateEditor. Configure different absolute path through Tools β Add-ons β Anki Template Editor β Config. Open or copy selected mirror path from controls above editor.
~/.AnkiTemplateEditor/<profile>/
βββ model-<id>--<name>/
βββ styles.css
βββ fields.json
βββ cards/
β βββ card-<ordinal>--<name>/
β βββ front.html
β βββ back.html
βββ .anki-template-editor.json
βββ .state/
βββ base/
βββ history/
styles.css belongs to whole note type. Changing it affects every card type. fields.json changes preview only; it never modifies notes or field schema.
AnkiWeb add-on code: 2053098767. In Anki, open Tools β Add-ons β Get Add-ons, enter code, install, then restart Anki.
npm ci
npm test
npm run test:python
npm run lint
npm run package
Generated package: release/anki-template-editor-<version>.ankiaddon.
npm run package builds a flat, reproducible archive, syncs human_version from package.json, and rejects missing runtime files, invalid JSON/Python, source maps, bytecode, cache folders, symlinks, and unsafe archive paths.
Install through Tools β Add-ons β Install from file, select package, restart Anki, then use Tools β Template Editor.
Invalid UTF-8, missing files, malformed fields.json, and files over size limit never apply to Anki. Template JavaScript runs inside sandboxed preview iframe.
npm run dev
Browser development shows bridge-unavailable message because collection operations exist only inside Anki. Pure merge/storage/service behavior is covered by Python tests; renderer and bridge behavior by Vitest.
See release checklist and AnkiWeb listing copy before upload.
0BSD. Use, copy, modify, distribute, or relicense for any purpose, with or without fee. No attribution required.