Discount is an implementation of John Gruber’s Markdown text to HTML language with some extensions from PHP Markdown Extra, Pandoc, and other implementations of Markdown.
|Tags||HTML Markup Text Processing HTML XHTML|
Release Notes: Table handling was tweaked so that tables with leading "|" characters won't generate ghost <td></td>s, and those with a trailing "|" won't end up with those tucked into the output.
Release Notes: This release corrects a long-standing bug in the smartypants handling of -- and --- (it was mapping a single dash to – and double dash to — when it should have been mapping double dash and triple dash respectively.)
Release Notes: This release fixes a long-standing defect where text blocks didn't absorb adjacent code lines, and updates the output format for failed tests in the test suite.
Release Notes: This release added support for PHP Markdown-extra style fenced code blocks, where you can mark off code sections with ~~~ instead of indenting them by four spaces.
Release Notes: This release modifies configure.sh so that it generates all the test scripts in the build directory. It has more MacOS support in configure.sh; it will check to see if .dSYM folders are created when a test script is compiled, and, if so, will not forget to delete them when they're cleaned up. makepage now accepts option flags a la the markdown program (via -Fxxxx, -fname, or in the MARKDOWN_FLAGS environment variable). It will strip bitfields out of opts, as it can't initialize a bitfield on plan9 cc. An -E flag has been added to the theme to disable context-sensitive <?theme xxx?> substitutions.