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
- Allows multiple =tag=s in a row, so you can do a whole
bunch of
<dt>
’s before you reach a<dd>
. - The
markdown
program now supports the-t text
argument, which tells it to processtext
with themkd_text()
function instead of simply callingmarkdown()
The bugfixes are
- In the
markdown
program, the parsing of-fno<flag>
was incorrect and thus wouldn’t let you turn off flags with-f
. - When I did the code restructuring for better emphasis handling,
I dropped
MKD_CDATA
support frommkd_text()
(thus breaking the rss feeds from this site. Ooops) and put it back in for this release. - The documentation for the
-f cdata
flag to themarkdown
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.