New Code!
Discount has been pushed up to version 2.0.5 with a short laundry list of tweaks;
- Rework the TOC code so that it uses an
a name=
anchor instead ofhx id=
(because theid=
may pick up css unexpectedly.) - in
linkyformat()
, don’t pass in&imaget
for image formats; pass in null instead and add a paranoia check to default the link type to&imaget
if the passed-in footnote is null. - tweak the librarian generator so it doesn’t require
ln -s
for static libs - Repair a defect in the way
>%class%
es are handled; css class names are (plus some unicode characters which I don’t support yet.){-_A-Za-z}{-_A-Za-z0-9}*
None of these (except the librarian generator, which blew up on Plan9 builds because Plan9 doesn’t do symbolic links) are tremendously important bugfixes, but it makes the code a little bit less annoyance-ridden so the next big change I do (possibly markdown extra-style footnotes?) will have all of its defects shining out all by themselves. So it’s not going to be a case where your server leaps, flaming, from the rack and plunges down to the rooftop between the dormitory towers, but it’s still New Code! and, as such, should find a nice place to settle on your PC.