glow - Man Page
Render markdown on the CLI, with pizzazz!
Examples (TL;DR)
- Run glow and select a file to view:
glow
- Render a Markdown file to the terminal:
glow path/to/file
- View a Markdown file using a paginator:
glow -p path/to/file
- View a file from a URL:
glow https://example.com/file.md
- View a GitHub/GitLab README:
glow github.com/owner/repository
Synopsis
glow [options...] [argument...]
Description
Render markdown on the CLI, with pizzazz!
Options
- --a --all
show system files and directories (TUI-mode only)
- --config
config file (default )
- --l --line-numbers
show line numbers (TUI-mode only)
- --m --mouse
enable mouse wheel (TUI-mode only)
- --p --pager
display with pager
- --n --preserve-new-lines
preserve newlines in the output
- --s --style
style name or JSON path
- --w --width
word-wrap at width (set to 0 to disable)
Commands
- completion
Generate the autocompletion script for the specified shell
- COMMANDS
- bash
Generate the autocompletion script for bash
- OPTIONS
--no-descriptions disable completion descriptions
- fish
Generate the autocompletion script for fish
- OPTIONS
--no-descriptions disable completion descriptions
- powershell
Generate the autocompletion script for powershell
- OPTIONS
--no-descriptions disable completion descriptions
- zsh
Generate the autocompletion script for zsh
- OPTIONS
--no-descriptions disable completion descriptions
- config
Edit the glow config file
- help [command]
Help about any command