summaryrefslogtreecommitdiff
path: root/man/man1/cmark.1
blob: 368145615eff38df06a9fc2a1c1051450d625687 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.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.
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[]
Print an abstract syntax tree instead of HTML.
.RS
.RE
.TP
.B \f[C]\-\-help\f[]
Print usage information.
.RS
.RE
.TP
.B \f[C]\-\-version\f[]
Print version.
.RS
.RE
.SH AUTHORS
.PP
John MacFarlane