[email protected]:~$ man leaf

← cd ..
leaf logo

leaf

Terminal Markdown previewer — GUI-like experience.

★ 2.4KMIT1.29.2RustNotes & Documents

INSTALLATION

$ curl -fsSL https://raw.githubusercontent.com/RivoLink/leaf/main/scripts/install.sh | sh
leaf demo

DESCRIPTION

A feature-rich terminal Markdown viewer built with Rust that delivers a GUI-like previewing experience inside your command line.
Supports rich formatting, 40+ language syntax-highlighted code blocks, LaTeX math, ASCII Mermaid diagrams, and YAML frontmatter.
Features interactive navigation with mouse and Vim keybindings, a sidebar Table of Contents, live file watching, fuzzy searching, and seamless editor integration.

DETAILS

Repository
rivolink/leaf (2026-11-05)
Website
leaf.rivolink.mg
Author
RivoLink
License
MIT
Category
Notes & Documents
Language
Rust
Platforms
Linux, macOS, Windows
Version
1.29.2 (2026-10-25)
Repo Age
7 months old

STAR HISTORY

Star history chart for rivolink/leaf

TAGS

BADGE

Maintain leaf? Add this badge to your README: listings that link back are marked verified and ranked first in the directory. It's checked once a day.

leaf on The Terminal Index

[+] show code[−] hide code
Markdown
[![leaf on The Terminal Index](https://cli.masoko.net/badge/leaf.svg)](https://cli.masoko.net/tools/leaf/)
HTML
<a href="https://cli.masoko.net/tools/leaf/"><img src="https://cli.masoko.net/badge/leaf.svg" alt="leaf on The Terminal Index"></a>

RELATED TOOLS