diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-30 12:57:24 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-30 12:57:24 -0800 |
commit | d5214cca36023d0a0234e2de0f7eed0b5e2e03b5 (patch) | |
tree | 98cdba7e2dbd84611502c65fa4f39f3f6c6eb724 /man/man1 | |
parent | 4c959280a1617bad3e2aa90ab3682758816dbedf (diff) |
Switched to mdoc for cmark.1.
Diffstat (limited to 'man/man1')
-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 |