Exception page code block in html ordered list

As discussed in #297 and #418.
This is just an starting point, could need some cleanup.