mirror of https://github.com/CrimsonTome/tldr.git
25 lines
429 B
Markdown
25 lines
429 B
Markdown
|
# glow
|
||
|
|
||
|
> Render Markdown in the terminal.
|
||
|
> More infomration: <https://github.com/charmbracelet/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 {{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}}`
|