6 releases

new 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

#401 in Text processing

Download history 281/week @ 2024-07-08 645/week @ 2024-07-15 432/week @ 2024-07-22 418/week @ 2024-07-29 95/week @ 2024-08-05 127/week @ 2024-08-12 86/week @ 2024-08-19 83/week @ 2024-08-26 148/week @ 2024-09-02 120/week @ 2024-09-09 260/week @ 2024-09-16 172/week @ 2024-09-23 128/week @ 2024-09-30 169/week @ 2024-10-07 349/week @ 2024-10-14 495/week @ 2024-10-21

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