An Anki-like spaced repetition system integrated directly into your notes.
Anki Cards brings the power of spaced repetition learning directly into your vault. Create flashcards within your notes and review them using a proven SRS algorithm without ever leaving your note-taking environment.
- Native Integration: Create and review cards directly in your vault
- Spaced Repetition Algorithm: Uses a scientifically-proven SRS algorithm similar to Anki
- Markdown Support: Cards support full Markdown formatting, including code blocks, lists, images, etc.
- Automatic Indexing: Automatically finds and indexes flashcards throughout your vault
- Customizable Settings: Adjust review sessions, card display, and SRS parameters
- Open your vault settings
- Go to Settings > Community plugins
- Turn off Safe mode
- Click "Browse" and search for "Anki Cards"
- Find "Anki Cards" and click "Install"
- Once installed, activate the plugin
Create flashcards in your notes using code blocks with the anki
language identifier:
What is the capital of France?
?
Paris
You can add multiple cards in a single block by separating them with blank lines:
What is the capital of France?
?
Paris
What is the largest planet in our solar system?
?
Jupiter
Cards are automatically indexed when the app starts. You can also manually index:
- Open the command palette (Ctrl/Cmd + P)
- Search for "Index all Anki cards in vault"
- Select the command to run it
There are multiple ways to start a review session:
- Click the Anki icon in the ribbon
- Use the command palette and search for "Review indexed Anki cards"
- Use the hotkey (if configured)
During review, you'll see:
- The question
- A button to show the answer
- After showing the answer, rate your response as "Hard," "Good," or "Easy"
To see all your indexed cards:
- Open the command palette (Ctrl/Cmd + P)
- Search for "View all indexed Anki cards"
- This displays a list of all cards with their due dates and review statistics
Settings can be accessed via Settings > Plugins > Anki Cards > Settings. Options include:
- Cards per session: Number of cards to review at once
- New cards per day: Maximum new cards to introduce daily
- Reviews per day: Maximum review cards to show daily
- Show source file: Display the file where the card originated
- Enable markdown rendering: Render markdown in cards (recommended)
- Easy bonus: Multiplier for "Easy" responses
- Interval modifier: Global multiplier for all intervals
- Maximum interval: Longest possible interval between reviews
- Dark mode buttons: Use darker colors for rating buttons
- Enable automatic indexing: Automatically find cards when the app opens
- Organize Related Cards: Keep related flashcards in the same note for better context
- Use Markdown Formatting: Take advantage of formatting to make your cards more effective
- Regular Reviews: Make reviewing cards part of your daily workflow
- Adjust Settings: Fine-tune the SRS algorithm based on your learning style
Q: How does the SRS algorithm work?
A: The algorithm adjusts the interval between reviews based on how difficult you find each card, similar to Anki. Cards you find easy will appear less frequently than difficult ones.
Q: Will this replace Anki?
A: For many users, this plugin offers the key benefits of Anki without leaving your notes. For advanced Anki users, this might complement rather than replace Anki.
Q: Can I sync these cards with the actual Anki app?
A: Currently, there's no direct synchronization with the Anki app. This plugin works entirely within your vault.
Q: Where is the card data stored?
A: Card data is stored in the plugin's data folder within your vault.
If you encounter issues or have suggestions:
- Open an issue on the GitHub repository
- Contribute via pull requests