diff --git a/README.md b/README.md index 28ad07d..d4092ee 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,23 @@ Render markdown on the CLI, with _pizzazz_! ## Usage -Supply a JSON stylesheet with the `-s` flag. Use a markdown file as the argument. +Supply a JSON stylesheet with the `-s` flag. Use a markdown source as the argument. +Read from file: ``` ./gold -s dark.json README.md ``` +Read from stdin: +``` +./gold -s dark.json - +``` + +Fetch README from GitHub: +``` +./gold -s dark.json https://github.com/charmbracelet/gold +``` + ## Colors Currently `gold` uses the [Aurora ANSI colors](https://godoc.org/github.com/logrusorgru/aurora#Index).