Flashcards

by Alex Colucci
5
4
3
2
1
Score: 79/100

Description

Category: Learning & Knowledge Management

The Flashcards plugin offers a flexible way to create, update, and sync Anki-compatible flashcards directly from your notes using a variety of intuitive syntax styles. It supports standard cards, reversed cards, spaced repetition cards, and cloze deletions with both highlight and bracket formats. You can use inline syntax like Question::Answer or mark cards with tags such as #card, #card-reverse, or #card-spaced. The plugin also enables LaTeX rendering, image and audio embedding, Obsidian URI links, code highlighting, and note references. With context-aware features and tag support, it helps keep your flashcards well-organized while integrating seamlessly into your study routine.

Reviews

No reviews yet.

Stats

1097
stars
75,225
downloads
109
forks
2,124
days
15
days
15
days
42
total PRs
5
open PRs
21
closed PRs
16
merged PRs
170
total issues
21
open issues
149
closed issues
131
commits

Latest Version

16 days ago

Changelog

Flashcards 2.2.0

Choose which folders and notes sync

The new Sync scope settings let you include folders, exclude folders and their descendants, or exclude individual notes. The whole vault remains eligible by default. Exclusions apply to vault updates, current-note updates, and the ribbon button.

  • Search and select multiple notes, then manage exclusions in collapsible, alphabetically sorted folder groups.
  • Exclude a note directly from its context menu.
  • Get a specific explanation and access to the scope editor when trying to update an excluded note.
  • Keep explicit rules through file and folder renames within a running Obsidian session.

Excluded notes are skipped before migration, note processing, and cached Anki checks. Existing Anki cards remain intact. Vault summaries distinguish scope exclusions from unchanged notes.

See the usage guide for rule precedence, examples, and troubleshooting.

Fixes

  • Keep the scope editor up to date when settings are in another window.
  • Report settings-save failures after migration dialogs and release the sync lock so another attempt can run.
  • Stop cloze answers from jumping to Extra when revealed. For existing Anki models, run Flashcards: Apply v2 Anki card style after updating. This backs up and replaces templates/CSS while keeping card IDs and review history.

Development

Added a repeatable Obsidian/Anki desktop test workflow, simplified sync command coordination, and made Obsidian lint warnings fail checks.

README file from

Github

Flashcards

Latest release Total downloads

Flashcards logo

Create Anki flashcards in Obsidian with normal Markdown. Review them in Anki and keep Obsidian as the source of truth.

This README describes Flashcards v2. The previous implementation and its documentation remain available on the legacy v1 branch.

How it works

You write and organize cards in Obsidian. The plugin creates or updates the matching notes in Anki.

  • Obsidian owns card content, card type, deck, and authored tags.
  • Anki owns review history and scheduling.
  • Cards created directly in Anki are not changed.
  • Each Anki card links back to its exact source in Obsidian.

This is one-way authoring, not two-way editing. If you change a linked card in Anki, the next update restores the content from Obsidian.

Requirements

  • Obsidian 1.13.0 or newer.
  • The desktop version of Anki.
  • The AnkiConnect add-on.
  • Anki running when you update cards. If it is closed, Flashcards starts it for you and waits — see Starting Anki.

Install

  1. In Obsidian, open Settings → Community plugins.
  2. Select Browse, search for Flashcards, and install the plugin.
  3. Enable Flashcards.
  4. In Anki, open Tools → Add-ons → Get Add-ons.
  5. Enter the AnkiConnect code 2055492159 and restart Anki.
  6. Keep Anki open while updating cards from Obsidian, or let Flashcards start it for you.

Flashcards 2.0.1 and later work with AnkiConnect's default settings. You do not need to add app://obsidian.md to webCorsOriginList.

AnkiConnect uses http://127.0.0.1:8765 by default. If you set an AnkiConnect API key, select the secret containing that key in the Flashcards settings.

Starting Anki

If Anki is closed when you update cards, Flashcards starts it and continues the update as soon as AnkiConnect answers — no need to re-run the command. Click the waiting notice to cancel.

Settings live under Anki connection:

  • Start Anki automatically — on by default. Turn it off to be prompted to start Anki yourself instead; the update still resumes once Anki is up.
  • Anki launch command — leave empty to use the standard install location (/Applications/Anki.app on macOS, %LOCALAPPDATA%\Programs\Anki\anki.exe on Windows, anki on PATH or the flatpak export on Linux). Set it for an AppImage, a custom prefix, or flatpak (flatpak run net.ankiweb.Anki). Quote paths containing spaces.
  • Wait for Anki — how long an update waits before giving up. Default 60s.
  • Test — checks the connection, starting Anki if needed, and reports what happened. Use it after changing the launch command.

A profile password prompt or Anki's own AnkiWeb sync dialog holds AnkiConnect back until you dismiss it; if that takes longer than the wait, run the command again once Anki is ready.

AnkiConnect connection problems

If Flashcards cannot reach AnkiConnect:

  1. In Obsidian → Settings → Community plugins, check for updates and update Flashcards to 2.0.1 or later. Restart Obsidian after updating.
  2. Open Anki and confirm that AnkiConnect appears under Tools → Add-ons.
  3. Restart Anki if you installed or changed AnkiConnect.
  4. Open http://127.0.0.1:8765 in a browser. It should show Anki-Connect. This checks that AnkiConnect is running. Then try updating your cards again.

Quick start

Write a basic card in any Markdown note:

What is the capital of France?::Paris

Keep Anki open. Then run Flashcards: Update Anki from current note from the Obsidian command palette. You can also use the Flashcards button in the left sidebar.

The plugin adds a small ^q-xxxx anchor and a managed flashcards property. They connect the Obsidian card to its Anki note. Do not edit them by hand.

Card types

Basic

What does HTTP mean?::Hypertext Transfer Protocol

Reversed

TCP:::Transmission Control Protocol

A reversed note creates cards in both directions. Use it only when both directions are useful.

Cloze

The mitochondria is the ==powerhouse== of the cell.
The {1:heart} pumps blood through the {1:circulatory system}.

==text== creates numbered clozes in source order. {N:text} lets you choose the number. Reuse a number when several parts should be hidden together.

Heading card

## What is recursion? #card

A function that calls itself and has a base case.

A heading card can contain several paragraphs, lists, code blocks, and lower headings. The next heading at the same or a higher level ends the answer.

Reminder

Prefer reversible decisions when uncertainty is high. #card-reminder

A reminder has one piece of content and no answer. It returns through Anki's normal schedule.

Explicit multi-line card

```flashcard
front: What does CSS stand for?
back: Cascading Style Sheets
type: reversed
```

The default type is basic. Other values are reversed, cloze, and reminder. Reminder blocks use content: instead of front: and back:.

The plugin also supports card callouts, cards in lists, and atomic note cards. See the v2 wiki for their exact rules and examples.

Markdown content

Cards can contain:

  • emphasis, links, lists, quotes, and code;
  • LaTeX math;
  • Obsidian wikilinks, including heading and block links;
  • images and audio attachments.

Card markers inside code, math, HTML comments, and ordinary blockquotes are not parsed as new cards.

Decks, tags, and context

Set a deck for one note with frontmatter:

---
cards-deck: Knowledge::Biology
tags:
  - biology
  - exam
---

By default:

  • the note folder selects the deck when cards-deck is absent;
  • the fallback deck is Default;
  • every card gets the obsidian tag;
  • parent headings appear as context above the review question;
  • removing a linked card asks for confirmation before Anki deletes it.

You can change these defaults in the Flashcards settings.

Commands

  • Flashcards: Update Anki from current note updates the active note.
  • Flashcards: Update Anki from vault updates every eligible Markdown note in the vault.
  • Flashcards: Check vault for v2 syntax migration reports old syntax in eligible notes and opens its source without changing files.
  • Flashcards: Apply v2 Anki card style previews, backs up, and updates compatible managed Anki note types.

Running an update again does not duplicate unchanged cards. Vault updates keep a disposable index to skip unchanged notes, verifying existing cards against Anki before reusing their cached state. Deleting the index is safe; the next update rebuilds it.

Choose which notes sync

Under Settings → Flashcards → Sync scope, choose included folders, excluded folders, and excluded notes. Empty included folders means the whole vault; folder rules cover descendants, and exclusions always win.

Exclusions apply to both update commands and the ribbon button. Right-click a note to Exclude from Flashcards sync, or use the searchable settings picker to add several notes at once. Excluded notes are grouped by folder in settings. An attempted update of an excluded note explains the reason and offers access to the scope editor.

Existing Anki cards are kept when a note is excluded. Explicit rules follow renames and moves made while the plugin is running in Obsidian. See the sync scope guide for examples, rule precedence, and missing-path handling.

Existing cards and v1 notes

Normal updates preserve Anki scheduling and review history when the note can be changed in place. Destructive changes ask first by default.

V2 uses one strict syntax. Run Flashcards: Check vault for v2 syntax migration to find old markers and open each source location. The report is read-only.

Documentation

  • V2 wiki: complete syntax, defaults, and edge cases.
  • Usage guide: setup and detailed update behavior.
  • Syntax gallery: visual reference for authoring forms, parsed fields, card counts, and source boundaries.

Optional agent skill

The repository includes $create-obsidian-flashcards for compatible coding agents. It can turn source notes into a selective set of retrieval cards, choose supported v2 syntax, and revise weak cards. It does not write the plugin's managed IDs or update Anki unless you ask.

Support

If Flashcards is useful to you, you can support its development:

Support on Ko-fi

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
braincache
4 years ago by XSPGMike
braincache obsidian plugin
Aosr
4 years ago by linanwx
Aosr is Another Obsidian plugin for Spaced Repetition.
Note Synchronizer
4 years ago by Songchen Tan
Synchronizes Obsidian notes to Anki in a breeze 💨️
Repeat
4 years ago by Andre Perunicic
Review notes using periodic or spaced repetition.
Awesome Flashcard
4 years ago by AwesomeDog
Handy Anki integration for Obsidian.
Flashcard Learning
3 years ago by Gaétan Muck
Obsidian plugin. Uses flashcard system to learn things across own notes.
text2anki-openai
3 years ago by Mani Batra
Auto Anki
3 years ago by ad2969
Using AI to automate card creation for Spaced Repetion in Anki
Flashcards LLM
3 years ago by Marco Pampaloni
Use Large Language Models (such as ChatGPT) to automatically generate flashcards from obsidian notes
Memorization
3 years ago by Joseph Cochran
Cloze
3 years ago by Vikki
A plugin for Obsidian which enables converting highlights, underlines, bolded texts, or any selected texts into clozes.
Flashcard Generator
3 years ago by ChloeDia
Obsidian Plug-in to automatically create a set of questions/answers on your notes !
QB Reader Parser
3 years ago by Jacob Barta
QBReader parsing for quiz bowl answerlines
Vocabulary Cards
3 years ago by Eugene Myazin
An easy way to display vocabulary words as flashcards and as a list
Mochi Cards Pro
3 years ago by Hayden Carpenter
Create flashcards on Mochi.cards using the API provided by Mochi's Pro subscription in Obsidian.
Augmented Canvas
3 years ago by Léopold Szabatura
Supercharge your Obsidian canvas experience with AI features.
The Queue
2 years ago by Kolja Sam Pluemer
An Obsidian.md plugin randomly exposing you to your cards. Supports habits, to-dos, spaced repetition flashcards, iterative reading and more.
Yanki
2 years ago by Eric Mika
An Obsidian plugin that syncs flashcards from a folder in your vault to Anki. Pure Markdown syntax. No fuss.
Better Recall
2 years ago by FlorianWoelki
A better spaced repetition and recall plugin for Obsidian inspired by Anki.
Learnie
2 years ago by tankh99
Learnie is an Obsidian plugin that helps to enhance your learning with active recall and spaced repetition.
Review
6 years ago by ryanjamurphy
Add the current note to a future daily note to remember to review it.
Mochi Cards Exporter
6 years ago by kalbetre
Mochi Cards Exporter Plugin for Obsidian
Spaced Repetition
5 years ago by Stephen Mwangi
Fight the forgetting curve by reviewing flashcards & entire notes on Obsidian
Incremental Writing
5 years ago by Jamesb | Experimental Learning
An incremental writing plugin for Obsidian where you add notes and blocks to prioritized queues and review them incrementally over time, spaced repetition style.
Recall
5 years ago by Martin Jirlow
A spaced repetition system for Obsidian!
Anki Sync
5 years ago by debanjandhar12
Obsidian plugin to make flashcards and sync them to Anki
Spaced everything
2 years ago by Zach Mueller
Obsidian plugin to apply spaced repetition to incrementally develop your notes.
Blue Star
2 years ago by Wang Guoshi
A plugin for Obsidian that generates Anki flashcards in various ways.
Simple Quiz
2 years ago by Ivan Kalmar
Creating simple quizzes.
AI-AnkiSync
2 years ago by goev
Memodack
2 years ago by Pavlo Kobyliatskyi
Your second language memory tool
Spaced Repetition AI
2 years ago by Belinda Mo, Athena Leong
AI + Spaced Repetition Plugin for Obsidian
HiNote
a year ago by Kai
Add comments to highlighted notes, use AI for thinking, and flashcards for memory.
Anki Integration
a year ago by Noah Boos AKA Rift
Create flashcards from your notes with a seamless interface, structuring them with metadata and syncing effortlessly via AnkiConnect.
Zhongwen Reader
a year ago by natipt
This is a Chinese hover dictionary and vocabulary-building plugin for ObsidianMD.
Come Through
a year ago by mntno
An Obsidian plugin for creating and reviewing flashcards.
OpenWords
a year ago by insile
用于英语学习中背单词与单词管理的 Obsidian 插件
Simple Anki Sync
a year ago by Lukas Mayr
Kindle Vocab
a year ago by Truong Gia Bao
Generate the markdown version of your Vocabulary Builder in Kindle, and put it in your Obsidian Vault.
Dictionary Lexicon
8 months ago by Alvin
Look up words and improve vocabulary by using flash card style cards.
Anki Helper
8 months ago by Dusk
Decks
8 months ago by Xherdi Lika
An Obsidian Flashcards plugin
Cornell Marginalia
4 months ago by Latazadehomero
A lightweight Obsidian plugin designed for students who use the Cornell Note-taking System.
LearnKit
3 months ago by William Guy
A native study system for your Obsidian vault. LearnKit turns notes into durable knowledge with flashcards, spaced repetition, reviews, tests, and AI tools.
Easy Recall
2 months ago by Geno Zhou