py_anki
is a Python script to generate new Anki decks from Markdown files recursively.
pip install genanki
- id
- question
- answer
- should be separated by
---
- each line should should start with
-
Example
---
- 116636636
- What is the value of `PI`?
- 3.14
---
python generate.py [deck_name] [path]
Examples
python generate.py my_deck notes
python generate.py my_deck /home/abs/path/to/my/dir/