#markdown #manpages #roff #troff #groff

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

#535 in Text processing

Download history 18/week @ 2022-12-02 53/week @ 2022-12-09 42/week @ 2022-12-16 4/week @ 2022-12-23 3/week @ 2022-12-30 19/week @ 2023-01-06 24/week @ 2023-01-13 14/week @ 2023-01-20 24/week @ 2023-01-27 36/week @ 2023-02-03 34/week @ 2023-02-10 36/week @ 2023-02-17 52/week @ 2023-02-24 63/week @ 2023-03-03 41/week @ 2023-03-10 21/week @ 2023-03-17

180 downloads per month

Apache-2.0 OR MIT

14KB
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

~1MB
~18K SLoC