LinuxCommandLibrary

glow

terminal markdown renderer

TLDR

Render markdown file

$ glow [README.md]
copy
Render with pager
$ glow -p [file.md]
copy
Render from stdin
$ cat [file.md] | glow
copy
Set width
$ glow -w [80] [file.md]
copy
Browse local files
$ glow
copy

SYNOPSIS

glow [options] [file]

DESCRIPTION

glow renders markdown in the terminal with syntax highlighting and formatting. It displays markdown documents beautifully without leaving the command line.
The tool supports various styles and can browse markdown files interactively. It handles GitHub Flavored Markdown including tables and code blocks.

PARAMETERS

FILE

Markdown file to render.
-p, --pager
Use pager for output.
-w WIDTH, --width WIDTH
Word wrap width.
-s STYLE, --style STYLE
Style name (dark, light, etc.).
--help
Display help information.

CONFIGURATION

~/.config/glow/glow.yml

Configuration file for default style, width, and pager settings.

CAVEATS

Terminal must support colors. Some features need true color support. Images not rendered.

HISTORY

glow was created by Charm as part of their suite of terminal tools, bringing beautiful markdown rendering to the command line.

SEE ALSO

mdcat(1), bat(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community