Help us shape the future of Go! Take the 2026 Go Developer Survey

md-view

command module
v0.0.0-...-2355509 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 16 Imported by: 0

README

md-view

A read-only markdown viewer for the terminal that feels like nano. Rendering is done by glamour, the engine behind glow. Nothing you press will ever change the file.

Install

go install github.com/S42yt/md-view@latest

Usage

md-view README.md
md-view -s dracula README.md
curl -s https://raw.githubusercontent.com/charmbracelet/glow/master/README.md | md-view
Flag Description
-s style: auto, github, github-light, dark, light, dracula, tokyo-night, pink, notty, ascii, or a glamour JSON file
-w wrap width, defaults to the terminal width capped at 120
-v print version

Keys

Key Alternative Action
^G ? Help
^X q, Esc Exit
^W / Search
^N / ^P n / N Next / previous match
^Y / ^V PgUp / PgDn Page up / down
^T Go to line
^S Cycle style
^R Toggle raw source
^L Reload file
^C Show position
Home / End g / G Top / bottom

The mouse wheel scrolls as well.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL