| Crates.io | md-viewer |
| lib.rs | md-viewer |
| version | 0.1.0 |
| created_at | 2026-01-24 20:40:29.741185+00 |
| updated_at | 2026-01-24 20:40:29.741185+00 |
| description | Fast, lightweight markdown viewer for Linux with tabs, file explorer, and live reload |
| homepage | https://github.com/aydiler/md-viewer |
| repository | https://github.com/aydiler/md-viewer |
| max_upload_size | |
| id | 2067454 |
| size | 301,292 |
A fast, lightweight markdown viewer for Linux built with Rust and egui. Designed for distraction-free reading with excellent typography and syntax highlighting.

File explorer, document outline, and tabbed browsing

Code blocks with 200+ language support via syntect

Consistent syntax highlighting across themes

| Shortcut | Action |
|---|---|
| Ctrl+T | New tab (open file dialog) |
| Ctrl+W | Close current tab |
| Ctrl+Tab | Next tab |
| Ctrl+Shift+Tab | Previous tab |
| Ctrl+1-9 | Switch to tab 1-9 |
| Shortcut | Action |
|---|---|
| Ctrl+O | Open file dialog |
| Alt+Left | Navigate back in history |
| Alt+Right | Navigate forward in history |
| Click link | Navigate in current tab |
| Ctrl+Click link | Open link in new tab |
| Shortcut | Action |
|---|---|
| Ctrl+D | Toggle dark/light mode |
| Ctrl+Shift+E | Toggle file explorer |
| Ctrl+Shift+O | Toggle outline sidebar |
| Ctrl++ / Ctrl+= | Zoom in |
| Ctrl+- | Zoom out |
| Ctrl+0 | Reset zoom to 100% |
| Ctrl+Scroll | Zoom with mouse wheel |
| Shortcut | Action |
|---|---|
| F5 | Toggle file watching |
| Ctrl+Q | Quit application |
# Using yay
yay -S md-viewer-git
# Using paru
paru -S md-viewer-git
sudo snap install md-viewer
cargo install md-viewer
# Clone the repository
git clone https://github.com/aydiler/md-viewer
cd md-viewer
# Build release binary
cargo build --release
# Install to ~/.local/bin (optional)
make install
sudo pacman -S --needed \
base-devel clang pkg-config \
libxcb libxkbcommon openssl \
gtk3 fontconfig dbus zenity \
xdg-desktop-portal xdg-desktop-portal-gtk
# Open a file
md-viewer README.md
# Open with live reload (auto-refresh on file changes)
md-viewer README.md --watch
md-viewer README.md -w
MIT