mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-09 09:49:09 +02:00
Update gold usage in README
This commit is contained in:
parent
16048357a0
commit
08b62ec55e
1 changed files with 12 additions and 1 deletions
13
README.md
13
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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue