Repository

benjajaja/mdfried

mdfried

A markdown viewer for the terminal that renders images and Big Headers™

549stars

Open github.com

benjajaja/mdfried

mdfried

A terminal markdown viewer that renders headers as larger text using images or the Kitty text sizing protocol, supports image previews, syntax highlighting, and Mermaid diagrams.

Visit project

Show me a random project

First shared
Jun 21, 2026
HN activity
30

Show HN@the_gipsyJun 21, 2026

Show HN: MdFried, the Ultimate Markdown Viewer

This is my markdown viewer for the terminal. It's most notable feature is that it displays headers Bigger™ then other text. This was my main motivation for writing this, as big headers make markdown really more readable and was the only thing making me reach outside of a terminal for reading markdown documents. I did this by leveraging ratatui-image, which I also had written for another thing. MdFried tries to get your terminal's font, or otherwise prompts you with a font picker. The headers are then rendered as images with cosmic-text. Notably, on kitty there is a [text sizing protocol], which is implemented by MdFried as alternative. Images are of course also displayed. Note that not every terminal can display images, or display images reliably enough for a TUI. Your best bets are popular terminals such as Kitty, Ghostty, Foot, or WezTerm. Terminals that don't have image support can of course still use MdFried as plain (and boring) markdown viewer. [text sizing protocol]: https://sw.kovidgoyal.net/kitty/text-sizing-protocol

Community

Hacker News discussion

Loading the thread…