mandown

Crates.iomandown
lib.rsmandown
version0.1.4
sourcesrc
created_at2020-04-23 00:44:50.956462
updated_at2024-07-01 13:23:16.378364
descriptionMarkdown to groff (man page) converter
homepagehttps://lib.rs/mandown
repositoryhttps://gitlab.com/kornelski/mandown.git
max_upload_size
id233098
size17,272
Kornel (kornelski)

documentation

README

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
Commit count: 12

cargo fmt