mdopen

Crates.iomdopen
lib.rsmdopen
version0.5.0
created_at2024-03-10 12:48:52.714842+00
updated_at2025-03-07 17:28:20.41584+00
descriptionPreview markdown files in a browser
homepage
repositoryhttps://github.com/immanelg/mdopen
max_upload_size
id1168670
size112,387
(immanelg)

documentation

README

mdopen

github latest_version build_status dependency_status

Quickly preview local markdown files in browser with GitHub-like look.

Doesn't use GitHub API, but locally compiles markdown to HTML in Rust and renders it for a browser.

Supports most of the GitHub markdown features, including syntax highlighting and math formulas.

Has GitHub-like CSS including automatic dark/light colorschemes.

Supports hot-reload.

Installation

Install from main branch:

cargo install --git https://github.com/immanelg/mdopen.git

Install from crates.io:

cargo install mdopen

Usage

Start the server and open served README.md in Firefox:

mdopen --browser firefox README.md 

Run mdopen --help for more info.

Acknowledgements

grip is similar.

Commit count: 90

cargo fmt