X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=README.md;h=4dd7dc9e62f960bc86207e04e1bb1bbb58b3be2f;hb=b9185b09edd2677f3a63cef4fd4be3e79671dc5c;hp=560b692421f5d28955457c788417a5fb1e7b9e69;hpb=7121c7107bcb4b3ef7a78878abf02c2e68354bf6;p=lightcards.git diff --git a/README.md b/README.md index 560b692..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. Currently under development. +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