X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=README.md;h=4dd7dc9e62f960bc86207e04e1bb1bbb58b3be2f;hb=b9185b09edd2677f3a63cef4fd4be3e79671dc5c;hp=b9250f9ddbc9ff65017e25885c8fb90f600d6483;hpb=691525d47e162525a9f0a179c02dab493cbea940;p=lightcards.git diff --git a/README.md b/README.md index b9250f9..4dd7dc9 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,28 @@ # lightcards Terminal flashcards from Markdown. -# Installation -`make` +## Installation +### From PyPI +``` +pip install lightcards +``` -# Usage -see `lightcards --help` +### 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