A beautiful, cross-platform terminal markdown renderer. Read docs, READMEs, and notes without leaving your shell.
❯ winget install michaelsanford.mdr
# 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.
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.exe" -Out mdr.exe # Verify attestation gh attestation verify mdr.exe --owner michaelsanford # Verify signature cosign verify-blob mdr.exe ` --bundle mdr-vX.Y.Z-win-x64.exe.bundle ` --certificate-identity-regexp "github.com/michaelsanford/mdr" ` --certificate-oidc-issuer "https://token.actions.githubusercontent.com" # Run .\mdr.exe README.md
Or build from source:
# Requires .NET 9 SDK dotnet publish -c Release --self-contained