Crates.io | mdopen |
lib.rs | mdopen |
version | 0.4.0 |
source | src |
created_at | 2024-03-10 12:48:52.714842 |
updated_at | 2024-04-07 10:22:19.925682 |
description | Preview markdown files in a browser |
homepage | |
repository | https://github.com/immanelg/mdopen |
max_upload_size | |
id | 1168670 |
size | 54,457 |
Quickly preview local markdown files in browser with GitHub-like look.
Doesn't use GitHub API, but just compiles markdown to HTML in Rust.
Install from crates.io:
cargo install mdopen
or directly from this repo:
cargo install --git https://github.com/immanelg/mdopen.git
Start the server and open files in Firefox:
mdopen README.md TODO.md -b firefox
This will open files on addresses http://localhost:5032/README.md
and http://localhost:5032/TODO.md
.
You access any markdown files relative to the current working directory.
You can also browse current directory if you access /
or other directory path.
Feedback and pull requests are welcome.
grip is similar.