Flashcards V2
Flashcards to Anki v2
This is a fork of the Obsidian Flashcards to Anki plugin.
- Works with Obsidian 1.4+
- Added support for AVIF and WEBP images
- Replaced flashcard ID syntax from
^1234567to<!-- ankiID: 1234567 -->. This is to avoid conflicts with Obsidians block linking syntax. - Added 2 commands for flashcard deletion from ANKI:
Delete all card in current file from Anki only- deletes all cards in the current note from Anki, and removed IDs from the note.Delete selected card(s) from Anki only- allow you to select a card or multiple cards and delete them from Anki.
- The plugin now recovers missing Anki IDs by matching card content with existing cards in Anki.
- Cards are now automatically recreated if they exist in Obsidian but are missing from Anki (e.g., when decks are deleted in Anki)
- Content inside HTML comments is now ignored for card creation (except for Anki ID comments)
- Improved MathJax rendering with better support for LaTeX in Anki cards
- Fixed issue with redundant backslashes around LaTeX content
- Uses custom tags to ensure proper rendering in Anki
- Enhanced list formatting that preserves the structure of ordered and unordered lists
- Better callout support for cleaner rendering of callout blocks in Anki
- Other bug fixes.
Features
- Card types: 📝
- 📄 Basic cards (add
#cardto the end of the line to create flashcard) - 🔍 Cloze with ==Highlight== or {Curly brackets} or {2:Cloze}
- ↔️ Inline cards (
Question::Answer) - 🔄 Reversed cards (
Question:::Answer)
- 📄 Basic cards (add
- Card deck: 🗂️
- 📋 Defined in frontmatter:
cards-deck: <deck-name> - 📂 Create sub-decks by separating each deck with
::e.g.:cards-deck: DeckName::SubDeckName::SubSubDeckName - 🔄 Automatically sorts cards into decks based on folder names
- 📋 Defined in frontmatter:
- Supports:
- 🖼️ Images
- 🔊 Audio
- ∑ LaTeX
- 💻 Code blocks
Quick Examples
You can use ordered and unordered lists, tables, and other markdown elements as long as they are nested and separated by a blank line.
Basic Card
What is the capital of France? #card
Paris
Cloze Card
The {c1:mitochondria} is the powerhouse of the cell.
Inline Card
Capital of Germany :: Berlin
Card with Context (Heading Path)
# Biology
## Cell Biology
What is the function of mitochondria? #card
Energy production through cellular respiration
Sync Command
- Create your cards in Obsidian notes
- Click the flashcard icon in the sidebar to sync with Anki
Documentation Sections
User Guide
Getting Help
- Check the Troubleshooting guide
- Visit the GitHub repository for updates or to report issues
Post a Comment