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.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.