www.LinuxHowtos.org





g-md2man

Section: User Manual (1)
Updated: January 2015
Index Return to Main Contents

 

NAME

g-md2man - Convert markdown files into manpages

 

SYNOPSIS

g-md2man [-in=/path/to/md/file] [-out=/path/to/output]

 

DESCRIPTION

g-md2man converts standard markdown formatted documents into manpages. It is written purely in Go so as to reduce dependencies on 3rd party libs.

By default, the input is stdin and the output is stdout.

 

OPTIONS

-in=file
Path to markdown file to be processed.

Defaults to stdin.

-out=file
Path to output processed file.

Defaults to stdout.

 

EXAMPLES

Convert the markdown file g-md2man.1.md into a manpage:

g-md2man < g-md2man.1.md > g-md2man.1

Same, but using command line arguments instead of shell redirection:

g-md2man-in=g-md2man.1.md-out=g-md2man.1

 

HISTORY

January 2015, Originally compiled by Brian Goff (cpuguy83@gmail.com).


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
HISTORY