]> git.armaanb.net Git - lightcards.git/blobdiff - README.md
Update README
[lightcards.git] / README.md
index b9250f9ddbc9ff65017e25885c8fb90f600d6483..d9ba139524820ccaa9d0314a037bf177fd76fc72 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,11 +1,25 @@
 # lightcards
 Terminal flashcards from Markdown.
 
-# Installation
-`make`
+## Installation
+### From PyPI
+```
+pip install lightcards
+```
 
-# Usage
-see `lightcards --help`
+### From Git
+```
+git clone https://git.sr.ht/~armaan/lightcards
+cd lightcards
+git checkout $(git tag | tail -n 1) # Dont include to use development version
+pip install .
+```
+
+## 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