summaryrefslogtreecommitdiff
path: root/man/cmark.1.md
blob: 19a2d14b134dc0d5aaee6e7ef9e5c31dc8d4c0d1 (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
35
36
37
---
title: cmark
section: 1
footer: cmark manual
date: October 22, 2014
...

# NAME

cmark - convert CommonMark formatted text to HTML

# SYNOPSIS

cmark [*options*] [file\*]

# DESCRIPTION

`cmark` 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.

# OPTIONS

`--ast`
:   Print an abstract syntax tree instead of HTML.

`--help`
:   Print usage information.

`--version`
:   Print version.

# AUTHORS

John MacFarlane