Files
tldr/pages.zh/common/glow.md

24 lines
443 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# glow
> 在终端中渲染 Markdown。
> 更多信息:<https://github.com/charmbracelet/glow>。
- 运行 glow 并选择一个文件进行查看:
`glow`
- 将 Markdown 文件渲染到终端:
`glow {{path/to/file}}`
- 使用分页器查看 Markdown 文件:
`glow -p {{path/to/file}}`
- 从 URL 查看文件:
`glow {{https://example.com/file.md}}`
- 查看 GitHub/GitLab 的 README
`glow {{github.com/owner/repository}}`