kerrickstaley / genanki

A Python 3 library for generating Anki decks
MIT License
1.99k stars 150 forks source link

Is deck_id necessary? #127

Open kerrickstaley opened 8 months ago

kerrickstaley commented 8 months ago

I'm not sure what effect setting the deck_id has. Maybe we could just use a default value like 0 always. We need to experiment with this.

cyrialize commented 6 months ago

I believe it is! I am working on some python code that'll parse an org file from Emacs org-mode to generate Anki cards.

If I set the deck_id to 1, it ends up inserting all of the created cards into the "Default" deck.

When I set the deck_id to a different number, it created a new deck with my passed in deck name, and inserted all the cards into the created deck.

This also includes if I set the setting "Import any deck presets" to on.