Home

Awesome

py_flashcards

I write all my notes for school in the Obsidian editor. So they're in Markdown. To study for my upcoming midterm, I wanted to turn these notes into flashcards. Unfortunately, all the "Anki" and spaced-repition are way too overkill for what I need.

I just want to turn my markdown notes into a set of flashcards I can just practice over and over.

I tried using Neuracache. Got my notes all nicely formatted and into the app before realizing I can't even shuffle my notes. So fuck it. I just wrote my own CLI text-only flashcard script in Python.

The file must contain any number of "cards" in the following format:

title (the question) #flashcard #other_tag
answer to the question on
any number of
lines.

---

Start the program like

python3 main.py example.md

Commands

Notes