Format code blocks using <div> tags

This allows the code snippets to be properly displayed on the page.