.nh .TH go-md2man 1 "January 2015" go-md2man "User Manual" .SH NAME go-md2man \- Convert markdown files into manpages .SH SYNOPSIS \fBgo-md2man\fP [\fB-in\fP=\fI/path/to/md/file\fP] [\fB-out\fP=\fI/path/to/output\fP] .SH DESCRIPTION \fBgo-md2man\fP converts standard markdown formatted documents into manpages. It is written purely in Go so as to reduce dependencies on 3rd party libs. .PP By default, the input is stdin and the output is stdout. .SH OPTIONS .TP \fB-in=\fP\fIfile\fP Path to markdown file to be processed. Defaults to stdin. .TP \fB-out=\fP\fIfile\fP Path to output processed file. Defaults to stdout. .SH EXAMPLES Convert the markdown file \fIgo-md2man.1.md\fP into a manpage: .EX go-md2man < go-md2man.1.md > go-md2man.1 .EE .PP Same, but using command line arguments instead of shell redirection: .EX go-md2man -in=go-md2man.1.md -out=go-md2man.1 .EE .SH HISTORY January 2015, Originally compiled by Brian Goff (cpuguy83@gmail.com).