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.

40 lines
1.3 KiB

  1. % Discount on Plan 9
  2. % Josh Wood
  3. % 2009-06-12
  4. # *Discount* Markdown compiler on Plan 9
  5. ## Build
  6. % CONFIG='--enable-all-features' mk config
  7. % mk install
  8. % markdown -V
  9. markdown: discount X.Y.Z DL_TAG HEADER DEBUG SUPERSCRIPT RELAXED DIV
  10. `--enable-all-features` may be replaced by zero or more of:
  11. --enable-dl-tag Use the DL tag extension
  12. --enable-pandoc-header Use pandoc-style header blocks
  13. --enable-superscript A^B becomes A<sup>B</sup>
  14. --enable-amalloc Enable memory allocation debugging
  15. --relaxed-emphasis underscores aren't special in the middle of words
  16. --with-tabstops=N Set tabstops to N characters (default is 4)
  17. --enable-div Enable >%id% divisions
  18. --enable-alpha-list Enable (a)/(b)/(c) lists
  19. --enable-all-features Turn on all stable optional features
  20. ## Notes
  21. The supplied mkfile merely drives Discount's own configure script and
  22. then APE's *psh* environment to build the Discount source, then copies
  23. the result(s) to locations appropriate for system-wide use on Plan 9.
  24. There are a few other *mk*(1) targets:
  25. `install.libs`: Discount includes a C library and header.
  26. Installation is optional. Plan 9 binaries are statically linked.
  27. `install.man`: Add manual pages for markdown(1) and (6).
  28. `install.progs`: Extra programs. *makepage* writes complete XHTML
  29. documents, rather than fragments. *mkd2html* is similar, but produces
  30. HTML.