4 releases

0.1.3 Jan 16, 2022
0.1.2 Oct 31, 2020
0.1.1 Apr 23, 2020
0.1.0 Apr 23, 2020

#713 in Text processing

Download history 72/week @ 2023-12-14 32/week @ 2023-12-21 22/week @ 2023-12-28 37/week @ 2024-01-04 36/week @ 2024-01-11 105/week @ 2024-01-18 96/week @ 2024-01-25 118/week @ 2024-02-01 265/week @ 2024-02-08 150/week @ 2024-02-15 193/week @ 2024-02-22 332/week @ 2024-02-29 370/week @ 2024-03-07 340/week @ 2024-03-14 369/week @ 2024-03-21 98/week @ 2024-03-28

1,275 downloads per month

Apache-2.0 OR MIT

15KB
330 lines

Convert Markdown to man pages

This can be used as a Rust library or as a command-line executable.

Installation

Usage

The mandown command takes a path as an argument, and prints 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

~1.5MB
~23K SLoC