6 releases

0.1.5 Oct 28, 2024
0.1.4 Jul 1, 2024
0.1.3 Jan 16, 2022
0.1.2 Oct 31, 2020
0.1.1 Apr 23, 2020

#368 in Text processing

Download history 238/week @ 2024-07-31 114/week @ 2024-08-07 120/week @ 2024-08-14 79/week @ 2024-08-21 98/week @ 2024-08-28 158/week @ 2024-09-04 141/week @ 2024-09-11 270/week @ 2024-09-18 146/week @ 2024-09-25 112/week @ 2024-10-02 235/week @ 2024-10-09 606/week @ 2024-10-16 431/week @ 2024-10-23 476/week @ 2024-10-30 518/week @ 2024-11-06 295/week @ 2024-11-13

2,028 downloads per month

Apache-2.0 OR MIT

19KB
462 lines

Convert Markdown to man pages

This can be used as a Rust library, or as a command-line executable.

CLI installation

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

~2.5MB
~41K SLoC