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

#370 in Text processing

Download history 65/week @ 2024-08-27 171/week @ 2024-09-03 136/week @ 2024-09-10 251/week @ 2024-09-17 182/week @ 2024-09-24 105/week @ 2024-10-01 213/week @ 2024-10-08 348/week @ 2024-10-15 593/week @ 2024-10-22 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 387/week @ 2024-12-10

1,894 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