A terminal-based file viewer with markdown support, built with Rust and Ratatui 👨🍳🐀.
- Less-like interface: Familiar navigation with arrow keys, page up/down, home/end
- Markdown rendering: Automatically detects .md and .markdown files and renders them
- Multiple view modes:
- Rendered view: Shows formatted markdown (default for markdown files)
- Source view: Shows raw markdown source
- Side-by-side view: Shows both rendered and source side by side
- Smooth scrolling: Synchronized scrolling in side-by-side mode
- Help system: Built-in help with Ctrl+h
# View a markdown file (starts in rendered mode)
./target/release/mess example.md
# View any text file (starts in source mode)
./target/release/mess README.txt
- ↑/↓: Scroll up/down one line
- Page Up/Page Down: Scroll up/down 10 lines
- Home: Go to beginning of file
- End: Go to end of file
- TAB: Cycle through view modes (Rendered → Source → Side-by-side → Rendered)
- q or Esc: Quit application
- Ctrl+h: Show help
Shows markdown files with basic formatting applied:
- Headers (#, ##, ###)
- Bold (**text**) and italic (*text*)
- Lists (-, *, 1.)
- Code blocks (```)
- Blockquotes (>)
Shows the raw markdown source code.
Shows rendered markdown on the left (50 characters wide) and source on the right, with synchronized scrolling.
The repository includes an example.md file that demonstrates various markdown features. Try viewing it with:
Then use TAB to cycle through the different view modes and see how the same content is displayed differently.
Copyright (c) Sebastian Korotkiewicz [email protected]
This project is licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT)
.png)


