MKD2MAN(1) | General Commands Manual | MKD2MAN(1) |
mkd2man
— convert
a markdown document into an mdoc manual page
mkd2man |
[-h ] [-d
date] [-s
section] [-t
title] [file] |
mkd2man
utility reads
file and generates mdoc(7) input
from markdown source. If unspecified, file is taken to
be standard input.
The options are as follows:
-d
,
--date
mkd2man
uses the file modification date or current
date if reading is from standard input or if stat(2)
fails.-h
,
--help
-s
,
--section
mkd2man
uses 1.-t
,
--title
mkd2man
uses the suffix-stripped filename part of
file. When reading is from stdin the title must be
specified.The mkd2man
utility exits 0 on
success, and >0 if an error occurs.
mkd2man
was written by
Natasha "Kerensikova" Porte
<natacha@instinctive.eu>
and Baptiste Daroussin
<bapt@freebsd.org>.
Manual page was originally written by Massimo Manghi
<mxmanghi@apache.org>,
and rewritten to mdoc format by Svyatoslav Mishyn
<juef@openmailbox.org>.
March 30, 2016 | Debian |