diff options
Diffstat (limited to 'man/man1')
-rw-r--r-- | man/man1/cmark.1 | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/man/man1/cmark.1 b/man/man1/cmark.1 index 4004d20..4118520 100644 --- a/man/man1/cmark.1 +++ b/man/man1/cmark.1 @@ -1,30 +1,31 @@ -.Dd November 30, 2014 -.Dt cmark 1 -.Sh NAME -.Nm cmark -.Nd convert CommonMark formatted text to HTML -.Sh SYNOPSIS -.Nm cmark -.Op Fl \-ast +.TH "cmark" "1" "November 30, 2014" "LOCAL" "General Commands Manual" +.SH "NAME" +\fBcmark\fR +\- convert CommonMark formatted text to HTML +.SH "SYNOPSIS" +.HP 6n +\fBcmark\fR +[\fB\-\-ast\fR] file* -.Sh DESCRIPTION -.Nm +.SH "DESCRIPTION" +\fBcmark\fR acts as a pipe, reading from -.Li stdin +\fRstdin\fR or from the specified files and writing to -.Li stdout . +\fRstdout\fR. It converts Markdown formatted plain text to HTML, using the conventions described in the CommonMark spec. If multiple files are specified, the contents of the files are simply concatenated before parsing. -.Sh OPTIONS -.Bl -tag -width 10n -.It \-\--ast +.SH "OPTIONS" +.TP 12n +\-\--ast Print an abstract syntax tree instead of HTML. -.It \-\-help +.TP 12n +\-\-help Print usage information. -.It \-\-version +.TP 12n +\-\-version Print version. -.El -.Sh AUTHORS +.SH "AUTHORS" John MacFarlane |