mirror of
https://github.com/charmbracelet/glow
synced 2024-12-14 06:02:27 +00:00
Link to gallery from related Styles paragraph
This commit is contained in:
parent
73d1d5d061
commit
62eaf39a4f
1 changed files with 5 additions and 6 deletions
11
README.md
11
README.md
|
@ -29,16 +29,14 @@ Fetch markdown from an HTTP source:
|
|||
When `gold` is started without any markdown source, it will try to find a
|
||||
`README.md` or `README` file in the current working directory.
|
||||
|
||||
### Flags
|
||||
|
||||
#### Word Wrapping
|
||||
### Word Wrapping
|
||||
|
||||
The `-w` flag lets you set a maximum width, at which the output will be wrapped:
|
||||
```
|
||||
./gold -w 60
|
||||
```
|
||||
|
||||
#### Styles
|
||||
### Styles
|
||||
|
||||
You can choose a style with the `-s` flag (`dark` being the default):
|
||||
```
|
||||
|
@ -50,12 +48,13 @@ Alternatively you can also supply a custom JSON stylesheet:
|
|||
./gold -s mystyle.json
|
||||
```
|
||||
|
||||
Check out the [Gold Style Gallery](https://github.com/charmbracelet/gold/blob/master/styles/gallery/README.md)
|
||||
to find more available styles!
|
||||
|
||||
## Example Output
|
||||
|
||||
![Gold Dark Style](https://github.com/charmbracelet/gold/raw/master/styles/gallery/dark.png)
|
||||
|
||||
Check out the [Gold Style Gallery](https://github.com/charmbracelet/gold/blob/master/styles/gallery/README.md)!
|
||||
|
||||
## Colors
|
||||
|
||||
Currently `gold` uses the [Aurora ANSI colors](https://godoc.org/github.com/logrusorgru/aurora#Index).
|
||||
|
|
Loading…
Reference in a new issue