diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-30 14:12:44 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-30 14:12:44 -0800 |
commit | 110aeac08ea7a7d11121e784cf5fbaac9f57d1ea (patch) | |
tree | 6c3b45248844e8d4580d9c36d25a9c00f220aa0d /man/man1 | |
parent | 48d19922aa25838e96291759ed8a539f809a80b8 (diff) |
Make the man pages standard groff man rather than mdoc.
Diffstat (limited to 'man/man1')
-rw-r--r-- | man/man1/cmark.1 | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/man/man1/cmark.1 b/man/man1/cmark.1 index 4004d20..4118520 100644 --- a/man/man1/cmark.1 +++ b/man/man1/cmark.1 @@ -1,30 +1,31 @@ -.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 +.TH "cmark" "1" "November 30, 2014" "LOCAL" "General Commands Manual" +.SH "NAME" +\fBcmark\fR +\- convert CommonMark formatted text to HTML +.SH "SYNOPSIS" +.HP 6n +\fBcmark\fR +[\fB\-\-ast\fR] file* -.Sh DESCRIPTION -.Nm +.SH "DESCRIPTION" +\fBcmark\fR acts as a pipe, reading from -.Li stdin +\fRstdin\fR or from the specified files and writing to -.Li stdout . +\fRstdout\fR. 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 +.SH "OPTIONS" +.TP 12n +\-\--ast Print an abstract syntax tree instead of HTML. -.It \-\-help +.TP 12n +\-\-help Print usage information. -.It \-\-version +.TP 12n +\-\-version Print version. -.El -.Sh AUTHORS +.SH "AUTHORS" John MacFarlane |