Converting code blocks to use pygments.