mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-23 00:24:17 +02: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
|
||||
|
||||

|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue