logoalt Hacker News

Show HN: leaf – a terminal Markdown previewer with a GUI-like experience

31 pointsby RivoLinktoday at 10:54 AM17 commentsview on HN

Comments

DonaldPShimodatoday at 4:56 PM

> Features:

> <bullet> <checkbox> description 1

> <bullet> <checkbox> description 2

> ...

Like... why are we doing this. What is the purpose of having a bunch of green checkbox emojis in the already bulleted list of features. The only thing it tells me is that an LLM was probably used extensively in building this project.

show 2 replies
SupLockDeftoday at 3:52 PM

`pandoc "$@ | lynx -stdin` and I save you from 225 potential supply chain attack crates.

`cargo audit` finds 3 vulnerabilities, you should fix them.

Blazing safe.

show 2 replies
jasonpeacocktoday at 5:59 PM

I used to use Glow, but now I'm enjoying mdterm:

https://github.com/bahdotsh/mdterm

RivoLinktoday at 10:54 AM

Hi HN,

I built leaf, a Markdown previewer that runs entirely in the terminal.

It supports keyboard/mouse navigation, syntax highlighting, tables, checkboxes, clickable links, search, table of contents, local Markdown links, inline images, Mermaid diagrams, and LaTeX-to-Unicode rendering.

It works on Linux, macOS, Windows, and Termux.

GitHub: https://github.com/RivoLink/leaf

I’d appreciate feedback on the UX, missing features, and performance on large Markdown files.

show 3 replies
timetraveller26today at 4:26 PM

cool project, how does it compare to glow? https://github.com/charmbracelet/glow

show 2 replies