aboutsummaryrefslogtreecommitdiff
path: root/man/man1/cmark.1
blob: 4004d2034754770ceb40442e7708d95a5a88ad02 (plain)
  1. .Dd November 30, 2014
  2. .Dt cmark 1
  3. .Sh NAME
  4. .Nm cmark
  5. .Nd convert CommonMark formatted text to HTML
  6. .Sh SYNOPSIS
  7. .Nm cmark
  8. .Op Fl \-ast
  9. file*
  10. .Sh DESCRIPTION
  11. .Nm
  12. acts as a pipe, reading from
  13. .Li stdin
  14. or from the specified files and writing to
  15. .Li stdout .
  16. It converts Markdown formatted plain text to HTML, using the conventions
  17. described in the CommonMark spec.
  18. If multiple files are specified, the contents of the files are simply
  19. concatenated before parsing.
  20. .Sh OPTIONS
  21. .Bl -tag -width 10n
  22. .It \-\--ast
  23. Print an abstract syntax tree instead of HTML.
  24. .It \-\-help
  25. Print usage information.
  26. .It \-\-version
  27. Print version.
  28. .El
  29. .Sh AUTHORS
  30. John MacFarlane