mad-0.1.0 is not a library.
mad
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
Nix
Usage
# Render a Markdown file
# Pipe from stdin
|
# Disable syntax highlighting
# Set a custom width
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