tldr/pages/common/glow.md

25 lines
429 B
Markdown
Raw Normal View History

2020-10-19 18:15:13 +01:00
# glow
> Render Markdown in the terminal.
> More information: <https://github.com/charmbracelet/glow>.
2020-10-19 18:15:13 +01:00
- Run glow and select a file to view:
`glow`
2020-12-29 11:45:05 +00:00
- Render a Markdown file to the terminal:
2020-10-19 18:15:13 +01:00
`glow {{path/to/file}}`
2020-12-29 11:45:05 +00:00
- View a Markdown file using a paginator:
2020-10-19 18:15:13 +01:00
`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}}`