This Space for Rent

New Code!

Discount has been pushed up to version 1.2.3 with the addition of a couple of new features, a few small bugfixes, and a documentation fix

The new features are

  1. Allows multiple =tag=s in a row, so you can do a whole bunch of <dt>’s before you reach a <dd>.
  2. The markdown program now supports the -t text argument, which tells it to process text with the mkd_text() function instead of simply calling markdown()

The bugfixes are

  1. In the markdown program, the parsing of -fno<flag> was incorrect and thus wouldn’t let you turn off flags with -f.
  2. When I did the code restructuring for better emphasis handling, I dropped MKD_CDATA support from mkd_text() (thus breaking the rss feeds from this site. Ooops) and put it back in for this release.
  3. The documentation for the -f cdata flag to the markdown program was calling it -f quot, which was not exactly what it should have been.

As New Code! goes, this is pretty dull. I can’t promise core dumps, head crashes, or exploding processors if you install this code; all it does is make my markdown implementation a little less surprising than the previous release. But it’s Friday, so you probably don’t need any additional excitement and this calm sedate New Code! should fill that role admirably.