Reading Markdown in the terminal still feels limited.
I built leaf to change that — a Markdown previewer with a more interactive, GUI-like experience, directly in the CLI.
What makes it different
- navigate large files (TOC, sections)
- open local Markdown links
- mouse + keyboard support
- LaTeX math rendering
Why not glow?
Tools like glow are great for simple rendering.
leaf focuses on interactivity and navigation, especially for real workflows.
https://github.com/RivoLink/leaf
Feedback is welcome.
Top comments (2)
I gave Leaf a proper try today and came away really impressed. The navigation, TOC, search, themes, editor integration and live reload make it feel much more like an interactive Markdown reader than just a terminal renderer.
I also tried it as a previewer with fzf, which makes for a very nice CLI workflow.
Glow still has its place for quick rendering (and reading remote Markdown directly from a URL), but for browsing and working with local Markdown files, Leaf has definitely won me over.
Great work — highly recommended!
Thank you so much for giving leaf a try and for sharing such detailed feedback. I’m really glad to hear that it fits well into your workflow.
I hope leaf continues to be useful for your projects!
Thanks again for your support 🍀