summaryrefslogtreecommitdiff
path: root/man/man1/cmark.1
blob: 4004d2034754770ceb40442e7708d95a5a88ad02 (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
.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
.Bl -tag -width 10n
.It \-\--ast
Print an abstract syntax tree instead of HTML.
.It \-\-help
Print usage information.
.It \-\-version
Print version.
.El
.Sh AUTHORS
John MacFarlane