Repository navigation
Releases
v0.2.0
mdview v0.2.0
What's new
- Tabs: open several files at once (
mdview *.md), one tab each. Switch with[/],1–9, or by clicking the tab bar. - Open files from inside mdview:
oopens a file by path (Tab completes),Opicks one from a folder list. - Links:
Tab/Shift-Tabselect links;Enteror a click opens a linked local markdown file in a new tab. - Wide tables:
ttoggles between one line per row (truncated with…) and wrapped cells.-w/--wrap-tablesstarts wrapped, including piped output. - Mouse: wheel scrolling, also over ssh and inside tmux.
mtoggles mouse capture so you can select text.
Changed
qnow closes the current tab and quits on the last one.xquits all tabs (asks first); Ctrl-C still quits immediately.
Update
curl -fsSL https://raw.githubusercontent.com/closetheloop-dev/mdview/main/scripts/install.sh | bashReplaces the existing mdview in ~/.local/bin (set MDVIEW_INSTALL_DIR if you installed it elsewhere).
v0.1.2
mdview v0.1.2
First release — a terminal Markdown viewer that ships as a single self-contained binary (no Bun or Node.js needed on the target machine).
Highlights
- Live reload — re-renders on save and keeps your scroll position; ideal for split-pane editing.
- Search — forward
/and backward?,n/N, per-session history, and Unicode-aware smartcase. - Full rendering — headings, lists, code, blockquotes, links, and GitHub-style tables with alignment; correct CJK and emoji widths.
- Minimal & safe — marked is the only dependency; no network, no subprocesses, no file writes (enforced by a test). Plain output when piped.
Install
On Linux, macOS, or Windows via WSL:
curl -fsSL https://raw.githubusercontent.com/closetheloop-dev/mdview/main/scripts/install.sh | bashThe installer detects the appropriate x64 or arm64 build, verifies its SHA-256 checksum, and installs mdview into ~/.local/bin.
To install this specific release:
curl -fsSL https://raw.githubusercontent.com/closetheloop-dev/mdview/main/scripts/install.sh | MDVIEW_VERSION=v0.1.2 bashBinaries for Linux (x64/arm64) and macOS (Intel/Apple Silicon) are also attached below for manual installation:
sha256sum -c SHA256SUMS.txt --ignore-missing
# macOS: shasum -a 256 -c SHA256SUMS.txt --ignore-missing
tar -xzf mdview-0.1.2-linux-x64.tar.gz
./mdview --versionLicense
MIT. The binary embeds the Bun runtime, which statically links LGPL components; each archive ships the LGPL texts and CORRESPONDING_SOURCE.md with relink instructions. Corresponding source: Bun · WebKit · TinyCC.