mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-23 16:44:17 +02:00
26 lines
458 B
Markdown
26 lines
458 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 https://github.com/charmbracelet/gold
|
|
```
|
|
|
|
## Colors
|
|
|
|
Currently `gold` uses the [Aurora ANSI colors](https://godoc.org/github.com/logrusorgru/aurora#Index).
|