Parse notes to create anki cards
Assume there is a text file with the following content:
**Q:** What is the capital of France?
**A:** Paris
**Q:** From which city did Germany's first steam locomotive depart?
**A:** Nuremberg
Using
ankiparser $PATH_TO_FILE $PATH_TO_TARGET_DIR
will create a Anki parsable file $PATH_TO_TARGET_DIR/cards.txt
with the content
What is the capital of France?\tParis
From which city did Germany's first steam locomotive depart?\tNuremberg