7 releases (1 stable)

new 1.0.0 Feb 14, 2025
0.1.5 Oct 28, 2024
0.1.4 Jul 1, 2024
0.1.3 Jan 16, 2022
0.1.1 Apr 23, 2020

#362 in Text processing

Download history 509/week @ 2024-10-29 602/week @ 2024-11-05 181/week @ 2024-11-12 369/week @ 2024-11-19 309/week @ 2024-11-26 734/week @ 2024-12-03 408/week @ 2024-12-10 407/week @ 2024-12-17 105/week @ 2024-12-24 239/week @ 2024-12-31 393/week @ 2025-01-07 400/week @ 2025-01-14 307/week @ 2025-01-21 416/week @ 2025-01-28 548/week @ 2025-02-04 714/week @ 2025-02-11

2,048 downloads per month

Apache-2.0 OR MIT

20KB
466 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
~42K SLoC