This Space for Rent

New Code!

Discount has been pushed up to version 2.1.1.1 with the addition of one new feature (and a bunch of internal optimizations to make that feature not suck lots of extra CPU time) in the form of PHP markdown extra-style fenced code block, where you can use marker strings to set off a chunk of code instead of indenting the offending block 4 spaces.

So where you’d normally do

    # this is code that's indented 4 spaces, like John Gruber intended

You can instead do

~~~~
# A line with 3 or more tildes starts a code block
# which ends with another line of 3 or more tildes
~~~~

which gives you the following output:

~~~~

A line with 3 or more tildes starts a code block

which ends with another line of 3 or more tildes

~~~~

This code is moderately experimental, and there may be edge cases that will cause it to cheerfully dump core all over your machine, but where’s the sport in New Code! that doesn’t have the possibility of self-immolation? You should download it and see!