mdfried
You can cook a terminal. But can you deep fry a terminal?
YES! You can cook and fry your tty! Run before it's too late!
The terminal is usually in "cooked" mode, or canonical mode. With
ratatui🐁, it's in raw mode, but it "cooks" for you.
mdfried is a markdown viewer for the terminal that renders headers as bigger text than normal.
How?
By rendering the headers as images, and using one of several terminal graphics protocols: Sixels, Kitty, or iTerm2.
See ratatui-image to see if your terminal does even have graphics support, and for further details.
In general, Kitty, WezTerm, iTerm2, foot, xterm -ti vt340, should work.
Screenshots

Video

Installation
cargo install mdfried- Clone repo and
cargo install --path . - There is a
flake.nixwhich might work
Usage
mdfried ./path/to.md
The first time you run mdfried, you will have to pick a font, ideally the font your terminal is
using. As you type in the prompt, the first match is previewed directly. Once confirmed, this is
written into the configuration file at ~/.config/mdfried/config.toml. Use --setup to force the
font-setup again if the font is not right.
Press q to quit. j/k to scroll by lines, Ctrl-d/Ctrl-u to scroll by pages. r reloads
the file (if not using stdin pipe). Mouse scroll also works.
TODO (laundry list)
General
- Extend README.md, documentation
- Publish to crates.io
- Fix
--deepfried mode
Markdown elements
- Blockquote
- Lists
- Tables
- HRs