Template + renderer for fenced code

The style for this may need to be tweaked a bit -- right now lines are wrapping, but it looks pretty good. In particular, there are no more big spaces between lines and all of the code falls into a single block.

Note not much code needed to change as this reuses a lot of the machinery set up for appendix "note"s