As one naturally does, I noticed that my blog wasn’t validating. It turned out that I’d forgotten to escape the << in the Ruby on Rails PDFs example.
So I installed Code Markup, a plugin that does all that escaping for me when it notices a <code> block.
It seems to Just Work, and lets me skip having to write &lt; all the damn time.