Skip to content
WhoSowSeePublic

About

Fast Rust-powered Markdown viewer for the terminal with syntax highlighting, flexible themes and layout controls, rich link handling, and live file monitoring

Topics

Resources

Contributing

Stars

22 stars

Watchers

1 watching

Forks

Repository files navigation

mdv icon

CONTRIBUTORS FORKS STARS

CRATES.IO DOWNLOADS

Fast, themeable Markdown viewer for the terminal

Overview

Tip

Русская версия: README-RU.md

Note

mdv is a terminal Markdown viewer focused on precise rendering inside ANSI-capable terminals. It offers:

  • Terminal-first rendering - Syntax highlighted output, optional HTML export, and careful handling of inline formatting.
  • Reusable layouts - Control width, wrapping strategy, heading indentation, and table behavior to match your workspace.
  • Link presentation control - Switch between clickable, inline, or tabular links and choose how URLs wrap, shorten, or overflow.
  • Rich theming - Built-in color schemes plus on-the-fly overrides for UI and syntax palettes.
  • Live monitoring - Watch files with --monitor to refresh the view whenever the source changes.
  • Script friendly CLI - Read from stdin, jump to sections with --from, and share configuration files across machines.

Installation

Cargo. Requires Rust 1.95 or newer.

cargo install mdv

macOS and Linux. Supports x86_64 and ARM64.

curl -fsSL https://whosowsee.github.io/mdv/install.sh | sh

Windows. PowerShell 5.1 or PowerShell 7 on x64 and ARM64.

irm https://whosowsee.github.io/mdv/install.ps1 | iex

The scripts download the latest GitHub release and verify its SHA-256 digest. Rust is not required. Run the same command to update.

See the installation guide for RPM and Arch Linux packages, Nix, source builds, version selection and removal.

Quick start

mdv README.md                     # render a file
mdv --theme catppuccin README.md  # choose a theme
mdv --preset reader README.md     # apply a preset
mdv --monitor README.md           # re-render when the file changes
mdv -i                            # browse Markdown files in the current directory
cat notes.md | mdv                # read from a pipe

Run mdv --help for the full option list.

Configuration

Create a configuration file with mdv --init-config. CLI options have highest priority, followed by the --preset selection, the configuration file and built-in defaults. For color, MDV_COLOR takes priority over the preset and configuration file.

The built-in themes are terminal (default), solarized-dark, nord, tokyonight, kanagawa, gruvbox, monokai, material-ocean and catppuccin. The built-in presets are reader, compact, pretty and showcase. User themes and presets are YAML files in the configuration directory. See Themes and Presets for previews and file formats.

Themes

terminal
Theme Terminal preview
Theme Terminal preview
Theme Terminal preview
monokai
Theme Monokai preview
Theme Monokai preview
Theme Monokai preview
solarized-dark
Theme Solarized Dark preview
Theme Solarized Dark preview
Theme Solarized Dark preview
nord
Theme Nord preview
Theme Nord preview
Theme Nord preview
tokyonight
Theme Tokyonight preview
Theme Tokyonight preview
Theme Tokyonight preview
kanagawa
Theme Kanagawa preview
Theme Kanagawa preview
Theme Kanagawa preview
gruvbox
Theme Gruvbox preview
Theme Gruvbox preview
Theme Gruvbox preview
material-ocean
Theme Material Ocean preview
Theme Material Ocean preview
Theme Material Ocean preview
catppuccin
Theme Catppuccin preview
Theme Catppuccin preview
Theme Catppuccin preview

Documentation

Full documentation is on the project website.

Development

See CONTRIBUTING.md for issues and pull requests, and the AI Policy for AI-assisted contributions. The toolchain, just commands, tests, CI and the website sources are described in the development guide.


Stargazers over time

catppuccin

© 2026-present WhoSowSee

LICENSE

About

Fast Rust-powered Markdown viewer for the terminal with syntax highlighting, flexible themes and layout controls, rich link handling, and live file monitoring

Topics

Resources

Contributing

Stars

22 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages