summaryrefslogtreecommitdiff
path: root/man/man1/cmark.1
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-12 23:29:35 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-13 20:19:41 -0800
commit59cc3c9323dc0b7aa1fd5817e12884ef925461d4 (patch)
treeaae78b1d3ed29f4b5f3a831d9e8c09b0d5d9580f /man/man1/cmark.1
parenta3030f985a973b3b835645313fdad1a8a72ff432 (diff)
Added cmark_render_man (man page writer).
cmark: Replaced `--man` and `--ast` with generic `--to` option.
Diffstat (limited to 'man/man1/cmark.1')
-rw-r--r--man/man1/cmark.17
1 files changed, 4 insertions, 3 deletions
diff --git a/man/man1/cmark.1 b/man/man1/cmark.1
index 4118520..2d5af77 100644
--- a/man/man1/cmark.1
+++ b/man/man1/cmark.1
@@ -13,14 +13,15 @@ acts as a pipe, reading from
\fRstdin\fR
or from the specified files and writing to
\fRstdout\fR.
-It converts Markdown formatted plain text to HTML, using the conventions
+It converts Markdown formatted plain text to HTML (or groff man or
+an abstract representation of the AST), 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 12n
-\-\--ast
-Print an abstract syntax tree instead of HTML.
+\-\-to, \-t \f[I]FORMAT\f[]
+Specify output format (\f[C]html\f[], \f[C]man\f[], \f[C]ast\f[]).
.TP 12n
\-\-help
Print usage information.