mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-09 09:49:09 +02:00
Add paragraph about the config file to README
This commit is contained in:
parent
61a2533d41
commit
c45b2fc4b0
1 changed files with 17 additions and 0 deletions
17
README.md
17
README.md
|
|
@ -165,6 +165,23 @@ glow --help
|
|||
Check out the [Glamour Style Section](https://github.com/charmbracelet/glamour/blob/master/styles/gallery/README.md)
|
||||
to find more styles. Or [make your own](https://github.com/charmbracelet/glamour/tree/master/styles)!
|
||||
|
||||
## The Config File
|
||||
|
||||
If you find yourself supplying the same flags to `glow` all the time, it's
|
||||
probably a good idea to create a config file. Put a file named `glow.yml` in
|
||||
the default config path of you platform. If you're not sure where that is refer
|
||||
to `glow --help`, which will display the path in which `glow` expects its
|
||||
config.
|
||||
|
||||
Here's an example config:
|
||||
|
||||
```yaml
|
||||
# style name or JSON path (default "auto")
|
||||
style: "light"
|
||||
# show local files only; no network (TUI-mode only)
|
||||
local: true
|
||||
```
|
||||
|
||||
## 🔒 Encryption: How It Works
|
||||
|
||||
Encryption works by issuing symmetric keys (basically a generated password) and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue