Settings

Theme

Show HN: Beautiful Markdown rendering in your terminal

github.com

7 points by spencerldixon · 6 comments · 1 min read

Reader

Hey HN, I’ve been cobbling together a tool to read beautifully formatted markdown without leaving my terminal.

Lime renders markdown in the terminal with actual formatting - big headers, syntax highlighted code, mermaid diagrams, all drawn using Ghostty’s Kitty graphics protocol support.

It picks up your terminal’s native theme and you can jump between headings, pull up a table of contents to search and jump to sections of your document.

It’s macOS and Ghostty for now, the document lives in scroll back and we use Apple Events to ask Ghostty jump around the scroll back instead of re-rendering. This also lets you use Ghostty’s native search and shortcuts for navigation.

1 thread
snehesht

This looks neat, congrats.

For anyone looking for a more general renderer, https://github.com/charmbracelet/glow.

  • O1111OOO

    I like rendering through a browser to gain seamless hyperlink support. Conversion to html for lynx; chawan supports MD natively. They both do a nice job.

    pandoc -s -f markdown -t html file.md | lynx -stdin

    chawan -T text/markdown file.md

  • retropragma

    Glow is the one i've been using. It's pretty nice, and you can customize the theme.

  • spencerldixonOP

    Thanks! I do like glow

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection