A beautiful, cross-platform terminal markdown renderer. Read docs, READMEs, and notes without leaving your shell.
❯ winget install michaelsanford.mdr
# Open a file directly ❯ mdr README.md # Or run with no arguments to browse and pick one ❯ mdr Select a file to open Current: ~/projects/mdr 📁 .. (Parent Directory) 📁 .github/ 📁 docs/ > 📄 README.md 📄 CHANGELOG.md 📄 Program.cs 📄 LICENSE ❌ Cancel (Move up and down to reveal more options)
# Getting Started Welcome to the project. This guide covers installation, configuration, and basic usage of mdr. ## Installation Download the latest release from GitHub (https://github.com/michaelsanford/mdr) ### From Source • Clone the repository • Run dotnet build -c Release • Copy the binary to your PATH mdr adapts to your terminal width automatically.
## Code Blocks ╭─csharp─────────────────────────────────────────────────────╮ │ using System; │ │ │ │ public class Program │ │ { │ │ public static async Task Main(string[] args) │ │ { │ │ var message = "Hello, World!"; │ │ Console.WriteLine(message); // Print it │ │ } │ │ } │ ╰────────────────────────────────────────────────────────────╯
## Supported Languages ╭──────────────┬───────────┬──────────┬──────╮ │ Language │ Extension │ Keywords │ Year │ ├──────────────┼───────────┼──────────┼──────┤ │ C# │ .cs │ 34 │ 2000 │ │ JavaScript │ .js │ 24 │ 1995 │ │ TypeScript │ .ts │ 24 │ 2012 │ │ Python │ .py │ 27 │ 1991 │ │ Rust │ .rs │ 24 │ 2010 │ │ Go │ .go │ 21 │ 2009 │ ╰──────────────┴───────────┴──────────┴──────╯
Headings, bold, italic, inline code, blockquotes, and links — all rendered with native ANSI terminal formatting.
Code blocks with keyword highlighting for C#, JavaScript, TypeScript, Python, Rust, and Go.
Tables render with rounded Unicode borders, automatically scaled to fill your terminal width.
Scroll through long documents with vim-style keybindings. Short output prints directly.
Run mdr with no file to browse the current directory, step in and out of folders, and pick a file to open — Markdown files are highlighted.
Cycle through Monokai, Dracula, Nord, GitHub Dark, Solarized, and Catppuccin with a single keypress.
No telemetry, no network requests, no data collection. Everything runs locally on your machine.
Each release is a self-contained, statically-linked single-file binary. No installer, no runtime dependencies — just download, verify, and run.
# Download (x64 or ARM64) iwr "https://github.com/michaelsanford/mdr/releases/latest/download/mdr-vX.Y.Z-win-x64.zip" -Out mdr.zip # Verify attestation gh attestation verify mdr.zip --owner michaelsanford # Verify signature cosign verify-blob mdr.zip ` --bundle mdr-vX.Y.Z-win-x64.zip.bundle ` --certificate-identity-regexp "github.com/michaelsanford/mdr" ` --certificate-oidc-issuer "https://token.actions.githubusercontent.com" # Extract and run Expand-Archive mdr.zip -DestinationPath . -Force .\mdr.exe README.md
Or build from source:
# Requires .NET 9 SDK dotnet publish -c Release --self-contained