Document paging in the README

This commit is contained in:
Christian Muehlhaeuser 2019-12-31 11:22:52 +01:00
parent e7c92ddfa7
commit 4690c265ce
No known key found for this signature in database
GPG key ID: 3CF9FA45CA1EBB7E

View file

@ -63,6 +63,11 @@ The `-w` flag lets you set a maximum width at which the output will be wrapped:
glow -w 60 glow -w 60
``` ```
### Paging
The output can be displayed in the user's preferred pager with the `-p` flag.
This defaults to the ANSI-aware `less -r` if `$PAGER` is not explicitly set.
### Styles ### Styles
You can choose a style with the `-s` flag (`dark` being the default): You can choose a style with the `-s` flag (`dark` being the default):