blob: 4004d2034754770ceb40442e7708d95a5a88ad02 (
plain)
- .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
- .Bl -tag -width 10n
- .It \-\--ast
- Print an abstract syntax tree instead of HTML.
- .It \-\-help
- Print usage information.
- .It \-\-version
- Print version.
- .El
- .Sh AUTHORS
- John MacFarlane
|