mandown

Crates.iomandown
lib.rsmandown
version0.1.5
sourcesrc
created_at2020-04-23 00:44:50.956462
updated_at2024-10-28 18:06:15.792542
descriptionMarkdown to groff (man page) converter
homepagehttps://lib.rs/mandown
repositoryhttps://gitlab.com/kornelski/mandown.git
max_upload_size
id233098
size20,848
Kornel (kornelski)

documentation

README

Convert Markdown to man pages

This can be used as a Rust library, or as a command-line executable.

CLI installation

CLI usage

The mandown command takes a path as an argument, and prints the 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: 18

cargo fmt