aboutsummaryrefslogtreecommitdiff
path: root/man/man1/cmark.1
blob: 2d5af779d9587d9d958e317a46ab766aa2570014 (plain)
  1. .TH "cmark" "1" "November 30, 2014" "LOCAL" "General Commands Manual"
  2. .SH "NAME"
  3. \fBcmark\fR
  4. \- convert CommonMark formatted text to HTML
  5. .SH "SYNOPSIS"
  6. .HP 6n
  7. \fBcmark\fR
  8. [\fB\-\-ast\fR]
  9. file*
  10. .SH "DESCRIPTION"
  11. \fBcmark\fR
  12. acts as a pipe, reading from
  13. \fRstdin\fR
  14. or from the specified files and writing to
  15. \fRstdout\fR.
  16. It converts Markdown formatted plain text to HTML (or groff man or
  17. an abstract representation of the AST), using the conventions
  18. described in the CommonMark spec.
  19. If multiple files are specified, the contents of the files are simply
  20. concatenated before parsing.
  21. .SH "OPTIONS"
  22. .TP 12n
  23. \-\-to, \-t \f[I]FORMAT\f[]
  24. Specify output format (\f[C]html\f[], \f[C]man\f[], \f[C]ast\f[]).
  25. .TP 12n
  26. \-\-help
  27. Print usage information.
  28. .TP 12n
  29. \-\-version
  30. Print version.
  31. .SH "AUTHORS"
  32. John MacFarlane