8 releases (2 stable)
| 1.1.0 | Mar 17, 2025 |
|---|---|
| 1.0.0 | Feb 14, 2025 |
| 0.1.5 | Oct 28, 2024 |
| 0.1.4 | Jul 1, 2024 |
| 0.1.1 | Apr 23, 2020 |
#243 in Text processing
12,278 downloads per month
24KB
582 lines
Convert Markdown to man pages
This can be used as a Rust library, or as a command-line executable.
CLI installation
-
Install Rust 1.74 or later
-
Run
cargo install mandown
CLI usage
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
Dependencies
~1MB
~22K SLoC