format code blocks