cmark

My personal build of CMark ✏️

Commit
d5214cca36023d0a0234e2de0f7eed0b5e2e03b5
Parent
4c959280a1617bad3e2aa90ab3682758816dbedf
Author
John MacFarlane <jgm@berkeley.edu>
Date

Switched to mdoc for cmark.1.

Diffstat

1 file changed, 22 insertions, 26 deletions

Status File Name N° Changes Insertions Deletions
Modified man/man1/cmark.1 48 22 26
diff --git 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