From d5214cca36023d0a0234e2de0f7eed0b5e2e03b5 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 30 Nov 2014 12:57:24 -0800 Subject: Switched to mdoc for cmark.1. --- man/man1/cmark.1 | 48 ++++++++++++++++++++++-------------------------- 1 file changed, 22 insertions(+), 26 deletions(-) (limited to 'man/man1/cmark.1') diff --git a/man/man1/cmark.1 b/man/man1/cmark.1 index 3681456..4004d20 100644 --- a/man/man1/cmark.1 +++ b/man/man1/cmark.1 @@ -1,34 +1,30 @@ -.TH "cmark" "1" "October 22, 2014" "cmark manual" "" -.SH NAME -.PP -cmark \- convert CommonMark formatted text to HTML -.SH SYNOPSIS -.PP -cmark [\f[I]options\f[]] [file*] -.SH DESCRIPTION -.PP -\f[C]cmark\f[] acts as a pipe, reading from stdin or from the specified -files and writing to stdout. +.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 +file* +.Sh DESCRIPTION +.Nm +acts as a pipe, reading from +.Li stdin +or from the specified files and writing to +.Li 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. -.SH OPTIONS -.TP -.B \f[C]\-\-ast\f[] +.Sh OPTIONS +.Bl -tag -width 10n +.It \-\--ast Print an abstract syntax tree instead of HTML. -.RS -.RE -.TP -.B \f[C]\-\-help\f[] +.It \-\-help Print usage information. -.RS -.RE -.TP -.B \f[C]\-\-version\f[] +.It \-\-version Print version. -.RS -.RE -.SH AUTHORS -.PP +.El +.Sh AUTHORS John MacFarlane -- cgit v1.2.3