#manpage #troff #markdown #roff #groff

bin+lib mandown

Markdown to groff (man page) converter

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

Download history 1303/week @ 2025-05-27 1393/week @ 2025-06-03 921/week @ 2025-06-10 1572/week @ 2025-06-17 1016/week @ 2025-06-24 446/week @ 2025-07-01 1837/week @ 2025-07-08 2828/week @ 2025-07-15 2076/week @ 2025-07-22 2777/week @ 2025-07-29 3940/week @ 2025-08-05 2741/week @ 2025-08-12 2791/week @ 2025-08-19 2775/week @ 2025-08-26 3277/week @ 2025-09-02 3215/week @ 2025-09-09

12,278 downloads per month

Apache-2.0 OR MIT

24KB
582 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

~1MB
~22K SLoC