Leaf is a terminal Markdown previewer that aims to provide a polished, GUI-like reading and navigation experience from the command line.
It can open Markdown files directly, render streamed content from stdin, watch files for live updates, and provide a navigable terminal interface with table of contents, search, themes, syntax highlighting, link handling, and editor integration.
This is free and open source software.
Key Features
- Provides live Markdown preview with watch mode and automatic reload when files change.
- Includes fuzzy Markdown picking, a classic directory browser, table of contents navigation, heading jumps, and search.
- Renders rich Markdown including tables, lists, blockquotes, rules, emphasis, task lists, alert callouts, LaTeX, and Mermaid diagrams.
- Supports syntax highlighting for code blocks and extra file types, with configurable extensions for the picker.
- Offers custom themes, shell completions, inline rendering for pipelines, stdin support, clickable links, and editor integration.
Website: github.com/rivolink/leaf
Support:
Developer: RivoLink
License: MIT License

Leaf is written in Rust. Learn Rust with our recommended free books and free tutorials.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.