New Code! (teeny discount patches)
Discount has been rolled up to version 1.3.0pre4 with a couple of bugfixes for things that did not work in pre3; I’d managed to outclever myself
with 1.3.0pre3 and made ishdr successfully not work with single-character headers,
plus I discovered that the canonical dumb header (##
) wasn’t working (the
reference implementation converts ##
to <h1>#</h1>
and discount was simply producing <p>##</p>
)
I also cleaned up the xhtml output from mkd_xhtmlpage(MMIOT*,int,FILE*)
so that the W3C’s xml validator is happy with the output, and I wrote a makepage
demo program that takes markdown input and translates it to a valid (subject to the format of user-supplied html, of course) xhtml output page.
There’s still no (or woefully little) documentation describing any of these new features, but I’m working on that for the actual 1.3.0 release – If I don’t get any bug reports or notice anything horrid in the way this code works, the documentation should be finished and the release should be done sometime towards the end of next week. So, if you want to test, this is the New Code! that you want to test with.