properly format code blocks