go-md2man(1)
π go-md2man(1) π
okay bestie, welcome to the User Manual for go-md2man β the little markdown-to-manpage converter that literally just works, no cap β¨
πΈ NAME πΈ
go-md2man β turns markdown files into manpages, slay π
π¦ SYNOPSIS π¦
go-md2man [-in=/path/to/md/file] [-out=/path/to/output]
β¨ DESCRIPTION β¨
so here's the vibe: go-md2man takes your standard markdown formatted documents and converts them into manpages. it's giving glow-up but for text files π
and the best part? it's written purely in Go, specifically so it can reduce dependencies on 3rd party libs. minimal, clean, iconic, no baggage. we love a low-dependency queen π
by default, the input is stdin and the output is stdout. so if you just pipe stuff in, it'll pipe stuff right back out. easy peasy π
π OPTIONS π
-in=fileβ the path to the markdown file that's gonna get processed. defaults tostdin, so if you don't say anything it just reads whatever you feed it π«Ά-out=fileβ the path to the output file where the processed stuff goes. defaults tostdout, meaning it'll just print right at you π
π EXAMPLES π
converting go-md2man.1.md into a manpage, the classic way:
go-md2man < go-md2man.1.md > go-md2man.1
same thing but using command line arguments instead of shell redirection:
go-md2man -in=go-md2man.1.md -out=go-md2man.1
both valid, both cute, pick your fighter π
π HISTORY π
January 2015, Originally compiled by Brian Goff (cpuguy83@gmail.com).
okay that's the whole page bestie, go forth and convert your markdown, you got this π§π
and that's a wrap on go-md2man, straight from the January 2015 archives β mwah, periodt π
β¨π
π¦ where this page comes from
- alpine 3.24: go-md2man-doc 2.0.7-r13 Β· MIT
- arch rolling: go-md2man 2.0.7-2 Β· MIT
- fedora 43: golang-github-cpuguy83-md2man 2.0.7-3.fc43 Β· MIT
- fedora 44: golang-github-cpuguy83-md2man 2.0.7-6.fc44 Β· MIT
- ubuntu stonking: go-md2man 2.0.7-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms