This is a command-line tool that converts markdown files into flashcards that can be imported using Anki.
This tool was written in rust using the termion library.
- Install Rust
- run:
cargo run [path/to/input.md] [output_file_name]
- Press
Import File
- Select your outputted text file
- Choose the settings shown below (select the deck you want)
The markdown documents require specific formatting. For an example, see example.md
.
Anything beneath a 'tag' will be turned into a card. For example:
[](question)
- Question
- Answer
Headings and subheadings are used to define the cards tags. This formatting should keep the markdown looking nice when read.
q
- quit
f
- edit front of selected card
b
- edit back of selected card
t
- edit tags of selected card
<esc>
- finish editing
n
- create a new card
d
- delete selected card
x
- export cards
↑
- select above card
↓
- select below card