Skip to content

Simple Anki addon to make the top level of a deck as {{RootDeck}} in card templates.

Notifications You must be signed in to change notification settings

prurph/anki-add-root-deck-field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Anki Add Root Deck Field

Anki provides some special fields that can be referenced in your notes. In addition to the built-in Deck and Subdeck, this addon provides access to a RootDeck field. It works like this:

Deck: Foods::Fruits::Watermelon
Subdeck: Watermelon
RootDeck: Foods

Whereas the Deck field is always the full string you enter, RootDeck will always just be the first. I use it purely for some fancy aesthetics:

Example Screenshot

the above is for the deck Code::DistributedSystems.

Installation

Copy add-root-deck-field.py to your Anki addon folder (Tools > Add-ons > Open Add-ons folder...). Restart Anki.

Usage

Once installed, {{RootDeck}} will be available inside any template.

About

Simple Anki addon to make the top level of a deck as {{RootDeck}} in card templates.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages