mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
522 B
Plaintext
30 lines
522 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# glow
|
|
|
|
> Render Markdown in the terminal.
|
|
> More information: <https://manned.org/glow>.
|
|
|
|
- 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|--pager]}} {{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}}`
|