A library and CLI tool for rendering Markdown documents with syntax highlighting and rich text formatting. Built with mq - jq-like command-line tool for markdown processing.
- 🎨 Syntax Highlighting: Tree-sitter powered syntax highlighting for 13+ programming languages
- 📝 Rich Markdown Rendering: Support for headers, lists, code blocks, links, images, and more
- 🔔 GitHub-style Callouts: NOTE, TIP, IMPORTANT, WARNING, CAUTION
- 🔗 Clickable Links: Terminal hyperlinks using OSC 8
curl -sSL https://raw.githubusercontent.com/harehare/mq-view/refs/heads/main/bin/install.sh | bashThe installer will:
- Download the latest mq-view binary for your platform
- Install it to
~/.mq/bin/ - Update your shell profile to add mq-view to your PATH
$ cargo install --git https://github.com/harehare/mq-view.git
$ cargo install mq-view- Rust, JavaScript, TypeScript (+ TSX)
- Python, Go, Java
- C, C++
- HTML, CSS, JSON
- Bash/Shell
View a markdown file:
mq-view README.mdPipe markdown content:
echo "# Hello\n\n\`\`\`rust\nfn main() {}\n\`\`\`" | mq-viewMIT
