LinuxCommandLibrary

glow

Render Markdown in the terminal.

TLDR

Run glow and select a file to view

$ glow
copy


Render a Markdown file to the terminal
$ glow [path/to/file]
copy


View a Markdown file using a paginator
$ glow -p [path/to/file]
copy


View a file from a URL
$ glow [https://example.com/file.md]
copy


View a GitHub/GitLab README
$ glow [github.com/owner/repository]
copy

Help

Render markdown on the CLI, with pizzazz! 

Usage:
  glow [SOURCE|DIR] [flags] 
  glow [command] 

Available Commands:
  config      Edit the glow config file 
  help        Help about any command 
  stash       Stash a markdown 

Flags:
  -a, --all             show system files and directories (TUI-mode only) 
      --config string   config file (default /home/simon/.config/glow/glow.yml) 
  -h, --help            help for glow 
  -l, --local           show local files only; no network (TUI-mode only) 
  -p, --pager           display with pager 
  -s, --style string    style name or JSON path (default "auto") 
  -v, --version         version for glow 
  -w, --width uint      word-wrap at width 

Use "glow [command] --help" for more information about a command. 

Copied to clipboard