mad 0.1.1

A fast Markdown terminal renderer with syntax highlighting
mad-0.1.1 is not a library.

mad

Crates.io docs.rs CI License

A fast Markdown terminal renderer with syntax highlighting

Renders Markdown files as beautifully formatted ANSI terminal output with syntax-highlighted code blocks, clickable hyperlinks, tables, and intelligent text wrapping.

Installation

Cargo

cargo install mad

Nix

nix run github:macalinao/mad -- README.md
nix profile install github:macalinao/mad

Usage

# Render a Markdown file
mad README.md

# Pipe from stdin
cat README.md | mad

# Disable syntax highlighting
mad --no-highlight README.md

# Set a custom width
mad --width 100 README.md

Options

Flag Short Description
`--no-highlight` `-n` Disable syntax highlighting for code blocks
`--width ` `-w` Wrap text to specified width (defaults to terminal width)
`--version` Print version
`--help` `-h` Print help

License

Apache-2.0