๐ AnkiBridge Introduction
AnkiBridge is a plugin for Obsidian that allows seamless integration with the Anki spaced-repetition software.
You're highly encouraged to read through this documentation to get an understanding of how AnkiBridge works and pit-falls to avoid.
Alpha Software
Please note that AnkiBridge is still in the alpha stage. Polite feedback is much appreciated.
Once the features mentioned below in Upcoming Features
have all been implemented
AnkiBridge will enter a beta phase (versions 1.x.y
).
AnkiBridge does contain portions of code that modify files in your vault. It could therefore delete data through a bug (though this should never happen). Having a recent backup of your data is strongly encouraged.
Featuresโ
While AnkiBridge is still under active development, it already has a few handy features and is in use by me personally.
๐ Blueprintsโ
Parsing is done using 'blueprints' allowing for easy customisation and extension.
Unlike other projects AnkiBridge uses a powerful PEG
parser instead of a regex
approach.
This makes parsing easier to debug and should make it very extensible too.
Directly in the Obsidian Vault you can specify:
- Anki Tags
- Anki Deck
Currently implemented blueprints:
- ๐ฅช Sandwich Blueprint with
#anki/start
,#anki/---
,#anki/end
- ๐ป BasicCodeBlock Blueprint with
anki
codeblocks
๐ Renderingโ
- ๐งฎ Math rendering
- ๐ผ Image rendering
- ๐ Audio rendering
- ๐น Video rendering
- โ Cloze deletion
- โฌ Standard Markdown rendering
- ๐ Link rendering (with Obsidian URI support)
- โ Linking to source from Anki
๐ง Intuitive usageโ
AnkiBridge should be intuitive to use and its codebase should be clean and free of too many tricks.
๐ง Configurabilityโ
Many of the features mentioned above can be enabled and disabled using the settings tab of the plugin.
๐ Never lose dataโ
Data is always stored in Obsidian and the syncing is just one-way. If a note is updated or changed in Obsidian, it will be reflected in Anki after the next sync.
You can still have flashcards that only exist in Anki.
This means that your Obsidian vault represents the truth and your Anki decks are always update to reflect the vault perfectly.
- ๐ฎ Delete notes from Anki via the
delete: true
key - โก Automatically moves cards to appropriate deck
- ๐ค Automatically updates tags and field content when syncing
๐ช Other featuresโ
- ๐ Default deck matching
- ๐ Ignore folders
- ๐ Ping connection
- ๐ฆ Available through Community Plugins
- ๐งช Unit testing of blueprints
Note: AnkiBridge considers the Obsidian Vault to be the 'ground truth'. Any changes to bridged notes in Anki will be reverted upon sync.
๐ Upcoming Featuresโ
- ๐ฉโ๐ป Code syntax highlighting
- ๐ Syncing of Mathjax preamples (advanced feature)
- ๐ (More) Documentation
- ๐ More blueprints
๐ Supportโ
If you're finding AnkiBridge useful and wish to show your appreciation, go have a gander at the ๐ Support page