LinuxCommandLibrary

gh-preview

Render Markdown files in the terminal

TLDR

Preview markdown

$ gh preview [file.md]
copy
Preview from stdin
$ echo "[# Heading]" | gh preview
copy

SYNOPSIS

gh preview [file]

DESCRIPTION

gh preview renders Markdown files in the terminal with formatting. It is useful for previewing READMEs and documentation before committing, displaying headings, links, code blocks, and other Markdown elements in a readable terminal format.

SEE ALSO

gh(1), gh-formatting(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community