leaf: a terminal Markdown previewer with GUI-like rendering and Mermaid support

4310sy · x · 2026-11-08

A forwarded recommendation for leaf, a terminal-based Markdown previewer offering a GUI-like experience: syntax highlighting for 40+ languages, Unicode-rendered tables, LaTeX math as Unicode symbols without external renderers, and its standout feature — Mermaid diagrams rendered as ASCII art directly in the terminal.

It includes watch mode with scroll preservation, Ctrl+E editor integration (vim/VS Code detection), fuzzy file picker, and TOC sidebar, targeting developers and AI-assisted CLI workflows.

Original post →

More from coding & agent

coding & agent channel →