From 110aeac08ea7a7d11121e784cf5fbaac9f57d1ea Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 30 Nov 2014 14:12:44 -0800 Subject: Make the man pages standard groff man rather than mdoc. --- man/man1/cmark.1 | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) (limited to 'man/man1/cmark.1') 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 -- cgit v1.2.3