mdview is a native terminal Markdown viewer with styled rendering and pager-style navigation.
- Single native executable.
- Rich terminal rendering for common Markdown.
- Pager-style keyboard navigation.
- Syntax-highlighted fenced code blocks when a language is specified.
- Plain code rendering for unlabeled or unknown-language code blocks.
cargo build --releaseThe single executable is written to:
target/release/mdviewtarget/release/mdview sample.mdTo install it somewhere on your PATH, copy target/release/mdview after building.
Keybindings:
q/Esc: quitj/ Down: scroll downk/ Up: scroll up- Space / PageDown: page down
b/ PageUp: page upg: topG: bottom
Supported Markdown includes headings, emphasis, inline code, syntax-highlighted fenced code blocks, links, blockquotes, lists, horizontal rules, and tables. Code fences are not shown in the rendered view.
Licensed under the Apache License, Version 2.0. See LICENSE.