leaf
Share on:
Enter Your Mastodon Instance
Copy the link below to share to Mastodon
https://terminaltrove.com/leaf/
A terminal-based Markdown previewer with a GUI-like experience.
Script Preview
Review this script before executing in your terminal.

leaf is a Markdown previewer for reading docs without leaving the terminal.
It opens Markdown files, comes with a file watcher (watch mode) which can watch them on save and can read from stdin. This tool is one of several terminal markdown viewers that can do complex rendering of code blocks, tables, LaTeX and Mermaid diagrams.
It also has fuzzy file picking with search, table of contents navigation, inline rendering and fzf preview support. It also can open an external editor of your choice to edit Markdown files, supports vim key-bindings and custom themes.
leaf is useful for developers previewing READMEs, changelogs, notes and other kinds of documentation that need LaTeX-like rendering in the terminal without installing a full TeX typesetter.
