From 59cc3c9323dc0b7aa1fd5817e12884ef925461d4 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 12 Dec 2014 23:29:35 -0800 Subject: Added cmark_render_man (man page writer). cmark: Replaced `--man` and `--ast` with generic `--to` option. --- man/man1/cmark.1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'man/man1/cmark.1') 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. -- cgit v1.2.3