瀏覽代碼

glow: add page (#4742)

Mark Gross 4 年之前
父節點
當前提交
b5255686cd
共有 1 個文件被更改,包括 24 次插入0 次删除
  1. 24 0
      pages/common/glow.md

+ 24 - 0
pages/common/glow.md

@@ -0,0 +1,24 @@
+# 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}}`