cpuguy83/go-md2man

270

stars

209

commits

Go

primary language

Nov 24, 2025

updated

README

go-md2man

Converts markdown into roff (man pages).

Uses blackfriday to process markdown into man pages.

Usage

go install github.com/cpuguy83/go-md2man/v2@latest

go-md2man -in /path/to/markdownfile.md -out /manfile/output/path

For go 1.24 and above, you can run it with go tool:

go get -tool github.com/cpuguy83/go-md2man/v2@latest
# it will be appended to `tool` directive in go.mod file

go tool go-md2man -in /path/to/markdownfile.md -out /manfile/output/path

Contributors

cpuguy83

118 commits

kolyshkin

23 commits

dependabot[bot]

17 commits

thaJeztah

16 commits

cpuguy83/go-md2man

270

stars

209

commits

Go

primary language

Nov 24, 2025

updated

README

go-md2man

Converts markdown into roff (man pages).

Uses blackfriday to process markdown into man pages.

Usage

go install github.com/cpuguy83/go-md2man/v2@latest

go-md2man -in /path/to/markdownfile.md -out /manfile/output/path

For go 1.24 and above, you can run it with go tool:

go get -tool github.com/cpuguy83/go-md2man/v2@latest
# it will be appended to `tool` directive in go.mod file

go tool go-md2man -in /path/to/markdownfile.md -out /manfile/output/path

Contributors

cpuguy83

118 commits

kolyshkin

23 commits

dependabot[bot]

17 commits

thaJeztah

16 commits

Languages

Go

96.4%

Makefile

2.1%

Dockerfile

1.5%