kerrickstaley / genanki

A Python 3 library for generating Anki decks
MIT License
1.89k stars 146 forks source link

how to create multi-level directory by using genanki #136

Open YuseiwithJackandCrow opened 3 weeks ago

YuseiwithJackandCrow commented 3 weeks ago

I have extracted many words from a book and I want to create a single deck file, but with expandable subdirectories where the subdirectory names serve as the titles. there is an example 二级目录

tyler-keller commented 1 week ago

Found the answer here: https://github.com/kerrickstaley/genanki/issues/107

You can name a deck name=f'{deck_name}::{subdeck_name}' to get a similar drop down functionality.