Text::Markdown::Discount
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
948 B

  1. .\" %A%
  2. .\"
  3. .Dd January 10, 2010
  4. .Dt MKD2HTML 1
  5. .Os MASTODON
  6. .Sh NAME
  7. .Nm mkd2html
  8. .Nd markdown to html converter
  9. .Sh SYNOPSIS
  10. .Nm
  11. .Op Fl css Pa file
  12. .Op Fl header Pa string
  13. .Op Fl footer Pa string
  14. .Op Pa file
  15. .Sh DESCRIPTION
  16. .Nm
  17. utility parses a
  18. .Xr markdown 7 Ns -formatted
  19. .Pa textfile
  20. .Pq or stdin if not specified,
  21. and generates a web page. It
  22. reads
  23. .Ar file
  24. or
  25. .Ar file.text
  26. and writes the result in
  27. .Ar file.html
  28. .Pq where file is the passed argument.
  29. .Pp
  30. .Nm
  31. is part of discount.
  32. .Sh OPTIONS
  33. .Bl -tag -width "-header string"
  34. .It Fl css Ar file
  35. Specifies a CSS file.
  36. .It Fl header Ar string
  37. Specifies a line to add to the <header> tag.
  38. .It Fl footer Ar string
  39. Specifies a line to add before the <\/body> tag.
  40. .El
  41. .Sh RETURN VALUES
  42. The
  43. .Nm
  44. utility exits 0 on success, and >0 if an error occurs.
  45. .Sh SEE ALSO
  46. .Xr markdown 1 ,
  47. .Xr markdown 3 ,
  48. .Xr markdown 7 ,
  49. .Xr mkd-extensions 7 .
  50. .Sh AUTHOR
  51. .An David Parsons
  52. .Pq Li orc@pell.chi.il.us