X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=README.md;h=4dd7dc9e62f960bc86207e04e1bb1bbb58b3be2f;hb=b9185b09edd2677f3a63cef4fd4be3e79671dc5c;hp=88c6d73d4063de9e87d4d8c6579b25c3fdc44940;hpb=589f6fda8e54d5b5ed0ae3b1c25aa7357974ddd3;p=lightcards.git diff --git a/README.md b/README.md index 88c6d73..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 -`make` +## 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