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

#933 in Text processing

Download history 88/week @ 2024-01-19 101/week @ 2024-01-26 151/week @ 2024-02-02 263/week @ 2024-02-09 124/week @ 2024-02-16 217/week @ 2024-02-23 356/week @ 2024-03-01 345/week @ 2024-03-08 366/week @ 2024-03-15 310/week @ 2024-03-22 137/week @ 2024-03-29 110/week @ 2024-04-05 72/week @ 2024-04-12 107/week @ 2024-04-19 178/week @ 2024-04-26 113/week @ 2024-05-03

492 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