Crates.io | mandown |
lib.rs | mandown |
version | 0.1.5 |
source | src |
created_at | 2020-04-23 00:44:50.956462 |
updated_at | 2024-10-28 18:06:15.792542 |
description | Markdown to groff (man page) converter |
homepage | https://lib.rs/mandown |
repository | https://gitlab.com/kornelski/mandown.git |
max_upload_size | |
id | 233098 |
size | 20,848 |
This can be used as a Rust library, or as a command-line executable.
Install Rust 1.74 or later
Run cargo install mandown
The mandown
command takes a path as an argument, and prints the manpage to stdout.
mandown README.md > converted.1
man ./converted.1
You can specify path as -
to read markdown from stdin. Second and third argument can specify program name and manpage section.
cat README.md | mandown - MYPROGRAM 1 > converted.1
man ./converted.1