#markdown #manpages #roff #troff #groff

bin+lib mandown

Markdown to groff (man page) converter

3 releases

0.1.2 Oct 31, 2020
0.1.1 Apr 23, 2020
0.1.0 Apr 23, 2020

#322 in Text processing

Download history 6/week @ 2021-04-05 3/week @ 2021-04-12 6/week @ 2021-04-19 57/week @ 2021-05-03 108/week @ 2021-05-10 52/week @ 2021-05-17 66/week @ 2021-05-24 81/week @ 2021-05-31 55/week @ 2021-06-07 41/week @ 2021-06-14 46/week @ 2021-06-21 45/week @ 2021-06-28 57/week @ 2021-07-05 20/week @ 2021-07-12 60/week @ 2021-07-19

84 downloads per month

Apache-2.0 OR MIT

14KB
329 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
~17K SLoC