glow/README.md
Christian Muehlhaeuser e40b04218e Update README
2019-11-25 05:04:17 +01:00

38 lines
790 B
Markdown

# Gold
Render markdown on the CLI, with _pizzazz_!
## Usage
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 github.com/charmbracelet/gold
```
Fetch markdown from an HTTP source:
```
./gold -s dark.json https://host.tld/file.md
```
When `gold` is started without any markdown source, it will try to find a `README.md`
or `README` file in the current working directory.
## Colors
Currently `gold` uses the [Aurora ANSI colors](https://godoc.org/github.com/logrusorgru/aurora#Index).
## Example Output
![Gold Dark Theme](https://github.com/charmbracelet/gold/raw/master/cmd/gold/gold_dark.png)