Leaf
ActiveOverview
Leaf is a terminal-based Markdown previewer that renders files with a GUI-like interface in the command line. It supports rich rendering of elements like headings, lists, tables, and code blocks, with interactive navigation. Designed for developers, CLI users, and AI-assisted workflows, it allows previewing Markdown without leaving the terminal.
Key Features
- Rich Markdown Rendering - Renders headings, lists, tables, code blocks, and other Markdown elements in the terminal.
- Interactive Navigation - Provides keyboard-based navigation through the document content.
- GUI-like Interface - Offers a clean, focused display mimicking graphical user interfaces in the terminal.
- One-command Install - Installs via curl script from https://leaf.rivolink.mg/install.sh.
- Self-update Feature - Supports 'leaf --update' to download and verify the latest version with checksums.
- Editor Integration - Compatible with terminal-based editor workflows for Markdown previewing.
Pricing
| Plan | Price | Includes |
|---|---|---|
| Free | $0 | Full access to all features, open-source. |
Platforms & Requirements
Leaf runs in any terminal on Linux, macOS, and Windows via cross-platform Rust binary. Requires a modern terminal supporting ANSI escape codes; no specific minimum hardware noted. Built with Rust for broad compatibility without additional dependencies.
Integrations & Ecosystem
- Terminal editors (Vim, Neovim)
- Shell scripts and CLI workflows
- AI-assisted coding tools
- Markdown file processing pipelines
Alternatives
| App | Difference |
|---|---|
| glow | Simpler Markdown renderer without GUI-like styling or interactive navigation. |
| mdcat | Focuses on image and syntax support but lacks full interactive interface. |
| Bat (with Markdown syntax) | File viewer with syntax highlighting, not dedicated Markdown previewer. |
| Marktext | GUI desktop app, not terminal-based. |
Reputation
Leaf is recognized as a lightweight, modern terminal Markdown viewer praised for its clean rendering and ease of installation. Users appreciate the Rust-based reliability and self-updating mechanism. Limited feedback available due to recent release, with no major criticisms noted.
Sources (6)
- https://leaf.rivolink.mg
- https://github.com/RivoLink/leaf
- https://www.youtube.com/watch?v=ygj_OEucvw4
- https://github.com/RivoLink/leaf/blob/main/README.md
- https://www.longbeach.gov/globalassets/lbcd/media-library/documents/planning/environmental/environmental-reports/approvedcertified-part-1/712-baker-street-riverpark-residential-project/river-park-final-eir
- https://github.com/RivoLink