Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 632 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 632 Bytes

ankiparser

Parse notes to create anki cards

Usage

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

GO HOW-TO