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

#374 in Text processing

Download history 77/week @ 2024-08-17 88/week @ 2024-08-24 145/week @ 2024-08-31 117/week @ 2024-09-07 274/week @ 2024-09-14 137/week @ 2024-09-21 156/week @ 2024-09-28 150/week @ 2024-10-05 326/week @ 2024-10-12 527/week @ 2024-10-19 579/week @ 2024-10-26 557/week @ 2024-11-02 227/week @ 2024-11-09 382/week @ 2024-11-16 292/week @ 2024-11-23 623/week @ 2024-11-30

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