No description
Find a file
Dusk 6f7636da55 fix(sync): rebuild cached all-cloze cards
中文: 修复全库同步复用旧缓存时漏掉 #anki-cloze-all 模式,确保旧 sequential 状态会强制重读并触发重建。

English: Force unchanged vault-sync files to be re-read when cached cloze state missed the all-cloze marker, so sequential-to-all shrink rebuilds can run and clear stale empty cards.
2026-04-28 13:19:01 +08:00
docs fix(cloze): rebuild notes when cloze numbers shrink 2026-04-28 00:03:27 +08:00
scripts feat: use Obsidian theme colors for settings page action buttons and toggles 2026-04-26 17:55:23 +08:00
src fix(sync): rebuild cached all-cloze cards 2026-04-28 13:19:01 +08:00
.gitignore chore: rebuild dist and sync 2026-04-16 18:02:02 +08:00
AGENTS.md fix(settings): preserve explicit folder selections 2026-04-24 10:10:34 +08:00
esbuild.config.mjs chore(settings): refine sync content copy and plugin dist sync 2026-04-26 08:45:56 +08:00
eslint.config.mjs chore: rebuild dist and sync 2026-04-16 18:02:02 +08:00
LICENSE Finalize pre-release cleanup 2026-04-27 19:54:49 +08:00
main.js fix(sync): rebuild cached all-cloze cards 2026-04-28 13:19:01 +08:00
main.ts chore: rebuild dist and sync 2026-04-16 18:02:02 +08:00
manifest.json fix(release): clean remaining pre-release state issues 2026-04-27 21:11:48 +08:00
package-lock.json Finalize pre-release cleanup 2026-04-27 19:54:49 +08:00
package.json Finalize pre-release cleanup 2026-04-27 19:54:49 +08:00
query_note.js fix(sync): self-heal deck drift and normalize tag backlinks 2026-04-19 20:16:03 +08:00
query_notes.js fix(sync): self-heal deck drift and normalize tag backlinks 2026-04-19 20:16:03 +08:00
README.md fix(release): clean remaining pre-release state issues 2026-04-27 21:11:48 +08:00
styles.css fix(settings): use native CTA buttons 2026-04-26 20:48:13 +08:00
tsconfig.json chore: rebuild dist and sync 2026-04-16 18:02:02 +08:00
versions.json chore: rebuild dist and sync 2026-04-16 18:02:02 +08:00
vitest.config.ts chore: commit Module 1 changes — add NoteFieldMapping, mapping service, persistence, tests 2026-04-16 23:02:07 +08:00

Anki Heading Sync

Anki Heading Sync is an Obsidian desktop plugin for syncing Markdown heading blocks into Anki with a focused, file-first workflow.

Features

  • Sync basic Q&A cards from heading blocks
  • Sync cloze cards from heading blocks with cloze-specific recognition
  • Sync QA Group list blocks into multi-level list QA notes
  • Sync the current file or all in-scope files in the vault
  • Write Anki IDs and GI markers back into Markdown after sync
  • Support deck routing, Obsidian backlinks, tag sync, and current-file reset

Requirements

  • Obsidian desktop 1.5.0 or newer
  • Anki with AnkiConnect enabled

Commands

  • Sync current file to Anki
  • Sync vault to Anki
  • Clear synced cards in current file
  • Clean up empty decks

Development

npm install
npm run lint
npm run test
npm run build

Release assets should include main.js, manifest.json, and styles.css.