https://github.com/cpuguy83/go-md2man
https://github.com/cpuguy83/go-md2man
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cpuguy83/go-md2man
- Owner: cpuguy83
- License: mit
- Created: 2014-07-30T20:03:48.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2025-05-05T23:02:14.000Z (30 days ago)
- Last Synced: 2025-05-07T20:07:54.486Z (28 days ago)
- Language: Go
- Size: 353 KB
- Stars: 251
- Watchers: 12
- Forks: 69
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- go-awesome - go-md2man - Convert markdown to manpage content (Open source library / Word Processing)
README
go-md2man
=========Converts markdown into roff (man pages).
Uses [blackfriday](https://github.com/russross/blackfriday) to process markdown into man pages.
### Usage
```bash
go install github.com/cpuguy83/go-md2man/v2@latestgo-md2man -in /path/to/markdownfile.md -out /manfile/output/path
```For go 1.24 and above, you can run it with `go tool`:
```bash
go get -tool github.com/cpuguy83/go-md2man/v2@latest
# it will be appended to `tool` directive in go.mod filego tool go-md2man -in /path/to/markdownfile.md -out /manfile/output/path
```