#manpage #markdown #convert-markdown #troff #roff

bin+lib mandown

Markdown to groff (man page) converter

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

#691 in Text processing

Download history 54/week @ 2023-11-27 51/week @ 2023-12-04 70/week @ 2023-12-11 34/week @ 2023-12-18 23/week @ 2023-12-25 37/week @ 2024-01-01 26/week @ 2024-01-08 80/week @ 2024-01-15 80/week @ 2024-01-22 136/week @ 2024-01-29 214/week @ 2024-02-05 171/week @ 2024-02-12 120/week @ 2024-02-19 321/week @ 2024-02-26 344/week @ 2024-03-04 152/week @ 2024-03-11

959 downloads per month
Used in iamb

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