TL;DR — Quick Summary

mdcat renders Markdown files beautifully in the terminal. Syntax highlighting, images (iTerm2/kitty), links, tables — read documentation without leaving the CLI.

mdcat renders Markdown beautifully in the terminal. Syntax highlighting, images, links — documentation in the CLI.

Installation

# macOS
brew install mdcat

# Cargo
cargo install mdcat

Usage

# Render markdown file
mdcat README.md

# Pipe from stdin
cat CHANGELOG.md | mdcat
curl -s https://example.com/doc.md | mdcat

# With pager
mdcat --paginate long-document.md

# Disable images
mdcat --no-image doc.md

# As man pager
export MANPAGER="mdcat"

# Columns/width
mdcat --columns 80 doc.md

Summary

  • mdcat renders Markdown with rich formatting in terminal
  • Syntax-highlighted code blocks, clickable links
  • Inline images on iTerm2 and kitty terminals
  • Pipe-friendly, works as pager
  • Written in Rust — fast, cross-platform