X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=README.md;h=a0d74a5d632b182ff49661aa38b675640ba52da8;hb=25e3ada874ea7f277129b8d2e39b675bde340afe;hp=88c6d73d4063de9e87d4d8c6579b25c3fdc44940;hpb=589f6fda8e54d5b5ed0ae3b1c25aa7357974ddd3;p=lightcards.git diff --git a/README.md b/README.md index 88c6d73..a0d74a5 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 +#### Stable version +``` +pip install git+https://git.sr.ht/~armaan/lightcards +``` + +#### Development version +``` +pip install git+https://git.sr.ht/~armaan/lightcards@devel +``` + +## Usage +See `lightcards --help` 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