mirror of
https://github.com/panatgithub/AnkiHeadingSync.git
synced 2026-07-22 06:51:43 +00:00
No description
中文: 新增填空题(全部挖空)变种,支持 #anki-cloze-all 并复用现有填空题模板与主字段。 English: Adds an all-cloze variant using #anki-cloze-all while reusing the existing Cloze note type and main field mapping. |
||
|---|---|---|
| docs | ||
| scripts | ||
| src | ||
| .gitignore | ||
| AGENTS.md | ||
| esbuild.config.mjs | ||
| eslint.config.mjs | ||
| LICENSE | ||
| main.js | ||
| main.ts | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| query_note.js | ||
| query_notes.js | ||
| README.md | ||
| styles.css | ||
| tsconfig.json | ||
| versions.json | ||
| vitest.config.ts | ||
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.