Format code-blocks for use with pygments