mido v0.5.1
The mido icon: a prompt and the letters md on a dark green tile

mido

Markdown In, Document Out.

A terminal Markdown reader that renders documents the way a good reader app does: real heading hierarchy, a comfortable line measure, syntax-highlighted code, and tables that line up. Built in Rust on ratatui.

mido README.md
# midomido
**mido**: Markdown In, Document Out.mido: Markdown In, Document Out.
A terminal Markdown reader that rendersA terminal Markdown reader that renders
documents the way a good reader app does.documents the way a good reader app does.
## InstallInstall
───────
```sh▎sh
cargo install mido▎cargo install mido
```▎
## KeysKeys
────
| Key | Action |┌───────┬───────────────┐
| --- | --- |│ Key │ Action │
| j / k | Scroll a line |╞═══════╪═══════════════╡
| g / G | Top / bottom |│ j / k │ Scroll a line │
│ g / G │ Top / bottom │
└───────┴───────────────┘
mido turning a Markdown file into a rendered document with a files sidebar and an outline card.

Install

cargo install mido

Then open a file, or a whole folder:

mido README.md
mido docs/

This documentation is itself a mido project. Run mido docs/ inside the repository to read it in the terminal.

See it run

Recorded with VHS from a tape in the repository and regenerated on every deploy, so it always shows the current release.

One pipeline, two outputs

Every block keeps its source range, so the same model drives the screen, the outline, search, link following and print mode.

source text to parse to Document to Layout, then to paint for the screen or print for stdout source text parse Document Layout paint print Markdown pulldown-cmark blocks with byte ranges lines, anchors, links ratatui frame ANSI on stdout

A reader, not cat with colors

Built in the open

mido is MIT licensed, written in Rust on ratatui, and shaped by the people who read Markdown in a terminal all day. Report a bug, suggest a key, pick up an open issue, or teach it a new element. Every stage of the pipeline has tests to lean on.