blob: c425b8cae3c456534f8afb995feb133bccbac3c2 (
plain)
- .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"
- \fBcmark\fR
- acts as a pipe, reading from
- \fRstdin\fR
- or from the specified files and writing to
- \fRstdout\fR.
- It converts Markdown formatted plain text to HTML (or groff man or
- an abstract representation of the AST), 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 12n
- \-\-to, \-t \f[I]FORMAT\f[]
- Specify output format (\f[C]html\f[], \f[C]man\f[], \f[C]ast\f[]).
- .TP 12n
- \-\-sourcepos
- Include source position attribute.
- .TP 12n
- \-\-hardbreaks
- Treat newlines as hard line breaks.
- .TP 12n
- \-\-normalize
- Consolidate adjacent text nodes.
- .TP 12n
- \-\-help
- Print usage information.
- .TP 12n
- \-\-version
- Print version.
- .SH "AUTHORS"
- John MacFarlane
|