Markdown to man page converter
md2man doc/foo.md > man/man1/man.1
export MANPATH=man:$MANPATH
man foo
This is a simple tool that converts GFM Markdown read from stdin, to a groff format (for man pages) printed to stdout.
It is a wrapper around pandoc and Perl's pod2man
.
I find that this produces the best looking man pages generated from Markdown (compared to every other tool I've tried so far).
Using BPAN:
bpan install md2man
- Ingy döt Net ingy@ingy.net
Copyright 2022 by Ingy döt Net
This is free software, licensed under:
The MIT (X11) License