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

#367 in Text processing

Download history 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 304/week @ 2024-11-13 304/week @ 2024-11-20 294/week @ 2024-11-27 795/week @ 2024-12-04 298/week @ 2024-12-11 390/week @ 2024-12-18 100/week @ 2024-12-25 337/week @ 2025-01-01

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