X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=README.md;h=4dd7dc9e62f960bc86207e04e1bb1bbb58b3be2f;hb=86eaf8495475ffb986efcd7fbf11ada2835c88e4;hp=ffc1aa1f29508245620045f72ef839bdf0fb45a5;hpb=ecd6aa920a6287905e86e3c98cbe6bacc6e8677c;p=lightcards.git diff --git a/README.md b/README.md index ffc1aa1..4dd7dc9 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,28 @@ # lightcards -Lightcards is a terminal program for using flashcards from a Markdown or HTML table. It is currently under heavy development, and unusable for productive studying. +Terminal flashcards from Markdown. -# Installation -`pip install .` +## Installation +### From PyPI +``` +pip install lightcards +``` + +### From Git +#### Main branch (stable) +``` +pip install git+https://git.sr.ht/~armaan/lightcards +``` + +#### Development branch +``` +pip install git+https://git.sr.ht/~armaan/lightcards@devel +``` + +## Usage +See `lightcards --help` or `man lightcards` for usage information. + +## Input file +`contrib/example.md` is an example input file. Lightcards takes the first table from a valid Markdown or HTML file. Each row is a card, and the two columns are the front and back. ## License Copyright Armaan Bhojwani 2021, MIT license