Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 626 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 626 Bytes

rust-md-viewer

A read-only desktop viewer for Markdown, Mermaid, CSV, SVG, and images. This is the Rust port of py-md-view.

Requirements

  • Windows: WebView2 runtime (preinstalled on Windows 11)
  • Linux: webkit2gtk-4.1, libgtk-3

Usage & Installation

# Run viewer on a file or folder
cargo run -- <file_or_folder>

# Register Windows file associations
cargo run -- --register

# Unregister Windows file associations
cargo run -- --unregister

Running Tests & Checks

cargo fmt --check
cargo clippy --all-targets -- -D warnings
cargo test