[Glow](https://github.com/charmbracelet/glow) is a terminal markdown viewer written in [[Go]] and part of the [[Charmbracelet]] collection of command line tools. # Tips ## Usage To display a document: ```sh glow document.md ``` To paginate: ```sh glow document.md -p ``` To read from stdin: ``` glow - ``` If Glow detects that ts output is being piped to another program it will remove all styling. This is annoying because there is no documented way to override it from the commandline. It can still be used to strip HTML or other hidden characters embedded in a markdown file though. ```sh glow infile_with_html.md > outfile.md ``` In the above example it may be superior to some versions of [[html2text by jaytaylor - doc converter]] because it will preserve newlines.