4 ms·
Hi HN, I built leaf, a Markdown previewer that runs entirely in the terminal. It supports keyboard/mouse navigation, syntax highlighting, tables, checkboxes,
by RivoLink 6mo ago
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 https://github.com/RivoLink/leaf
I’d appreciate feedback on the UX, missing features, and performance on large Markdown files.
- mfgadv99 6mo ago[flagged]
- yboris 6mo agoPlease consider adding a screenshot directly into the README (rather than a separate link). Also maybe a single paragraph at the top describing the project rather than jumping into `install`.
- RivoLink 6mo agoThanks for your feedback. I added the screenshot and a short description inside it.
- benj111 6mo agoWhy a previewer rather than an editor that updates as you write? Do you have a specific use case? It seems to me that markdown is for writing with the ultimate output supposedly being html. Having a viewer of the markdown doesn't seem to add anything. Whereas making it an editor makes it more of a rich text editor. I'm not particularly saying youre wrong, more posing a philosophical question.
- RivoLink 6mo agoThere are both "open in editor" and "watch" modes. The idea is not to replace an editor, but to complement it: - "open in editor" lets you edit the file with your preferred editor - "watch" automatically refreshes the preview when the file changes So you can keep your usual workflow while having a fast, structured preview directly in the terminal.