Warning, /education/cantor/thirdparty/discount-2.2.6-patched/mkd2html.1 is written in an unsupported language. File is not indexed.

0001 .\"     %A%
0002 .\"
0003 .Dd January 10, 2010
0004 .Dt MKD2HTML 1
0005 .Os MASTODON
0006 .Sh NAME
0007 .Nm mkd2html
0008 .Nd markdown to html converter
0009 .Sh SYNOPSIS
0010 .Nm
0011 .Op Fl css Pa file
0012 .Op Fl header Pa string
0013 .Op Fl footer Pa string
0014 .Op Pa file
0015 .Sh DESCRIPTION
0016 .Nm
0017 utility parses a
0018 .Xr markdown 7 Ns -formatted
0019 .Pa textfile
0020 .Pq or stdin if not specified,
0021 and generates a web page. It
0022 reads
0023 .Ar file
0024 or
0025 .Ar file.text
0026  and writes the result in
0027 .Ar file.html
0028 .Pq where file is the passed argument.
0029 .Pp
0030 .Nm
0031 is part of discount.
0032 .Sh OPTIONS
0033 .Bl -tag -width "-header string"
0034 .It Fl css Ar file
0035 Specifies a CSS file.
0036 .It Fl header Ar string
0037 Specifies a line to add to the <header> tag.
0038 .It Fl footer Ar string
0039 Specifies a line to add before the <\/body> tag.
0040 .El
0041 .Sh RETURN VALUES
0042 The
0043 .Nm
0044 utility exits 0 on success, and >0 if an error occurs.
0045 .Sh SEE ALSO
0046 .Xr markdown 1 ,
0047 .Xr markdown 3 ,
0048 .Xr markdown 7 ,
0049 .Xr mkd-extensions 7 .
0050 .Sh AUTHOR
0051 .An David Parsons
0052 .Pq Li orc@pell.portland.or.us