diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/man1/cmark.1 | 48 |
1 files changed, 22 insertions, 26 deletions
diff --git a/man/man1/cmark.1 b/man/man1/cmark.1 index 3681456..4004d20 100644 --- a/man/man1/cmark.1 +++ b/man/man1/cmark.1 @@ -1,34 +1,30 @@ -.TH "cmark" "1" "October 22, 2014" "cmark manual" "" -.SH NAME -.PP -cmark \- convert CommonMark formatted text to HTML -.SH SYNOPSIS -.PP -cmark [\f[I]options\f[]] [file*] -.SH DESCRIPTION -.PP -\f[C]cmark\f[] acts as a pipe, reading from stdin or from the specified -files and writing to stdout. +.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 +file* +.Sh DESCRIPTION +.Nm +acts as a pipe, reading from +.Li stdin +or from the specified files and writing to +.Li stdout . 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 -.TP -.B \f[C]\-\-ast\f[] +.Sh OPTIONS +.Bl -tag -width 10n +.It \-\--ast Print an abstract syntax tree instead of HTML. -.RS -.RE -.TP -.B \f[C]\-\-help\f[] +.It \-\-help Print usage information. -.RS -.RE -.TP -.B \f[C]\-\-version\f[] +.It \-\-version Print version. -.RS -.RE -.SH AUTHORS -.PP +.El +.Sh AUTHORS John MacFarlane |