formatting code blocks for pygments