.\"     %A%
.\"
.Dd January 7, 2008
.Dt MARKDOWN 1
.Os MASTODON
.Sh NAME
.Nm markdown
.Nd text to html conversion tool
.Sh SYNOPSIS
.Nm
.Op Fl d
.Op Fl V
.Op Fl o Pa file
.Op Pa textfile
.Sh DESCRIPTION
The
.Nm
utility reads the
.Xr markdown 7 Ns -formatted
.Pa textfile
.Pq or stdin if not specified,
compiles it, and writes the html output
to stdout.
.Pp
The options are as follows:
.Bl -tag -width "-o file"
.It Fl d
Instead of writing the html file, dump a parse
tree to stdout.
.It Fl V
Show the version#
.It Fl o Pa file
Write the generated html to 
.Pa file .
.El
.Sh RETURN VALUES
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr markdown 3 ,
.Xr markdown 7 .
.Sh AUTHOR
.An David Parsons
.Pq Li orc@pell.chi.il.us

.\"     %A%
.\"
.Dd January 7, 2008
.Dt MARKDOWN 1
.Os MASTODON
.Sh NAME
.Nm markdown
.Nd text to html conversion tool
.Sh SYNOPSIS
.Nm
.Op Fl d
.Op Fl V
.Op Fl F Pa bitmap
.Op Fl o Pa file
.Op Pa textfile
.Sh DESCRIPTION
The
.Nm
utility reads the
.Xr markdown 7 Ns -formatted
.Pa textfile
.Pq or stdin if not specified,
compiles it, and writes the html output
to stdout.
.Pp
The options are as follows:
.Bl -tag -width "-o file"
.It Fl d
Instead of writing the html file, dump a parse
tree to stdout.
.It Fl V
Show the version# and configuration data.
.Pp
If the version includes the string
.Em DL_TAG ,
.Nm
was configured with definition list support.
.Pp
If the version includes the string
.Em HEADER ,
.Nm
was configured to support pandoc header blocks.
.It Fl F Ar bitmap
Pass the flags contained in
.Ar bitmap
to the markdown compiler.  The valid flags are
described in 
.Xr markdown 3 .
.It Fl o Pa file
Write the generated html to 
.Pa file .
.El
.Sh RETURN VALUES
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr markdown 3 ,
.Xr markdown 7 .
.Sh AUTHOR
.An David Parsons
.Pq Li orc@pell.chi.il.us

Document the format of the version string; describe the -F option
Document the format of the version string; describe the -F option
