--- source: crates/biome_formatter_test/src/snapshot_builder.rs info: css/yaml/yaml.css --- # Input ```css --- title: Title description: Description --- a { color: red; } ``` # Prettier differences ```diff --- Prettier +++ Biome @@ -1,7 +1,8 @@ --- title: Title description: Description ---- +-- +- a { color: red; ``` # Output ```css --- title: Title description: Description -- - a { color: red; } ``` # Errors ``` yaml.css:1:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Expected a qualified rule, or an at rule but instead found '---'. > 1 │ --- │ ^^^ 2 │ title: Title 3 │ description: Description i Expected a qualified rule, or an at rule here. > 1 │ --- │ ^^^ 2 │ title: Title 3 │ description: Description yaml.css:3:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × expected `,` but instead found `description` 1 │ --- 2 │ title: Title > 3 │ description: Description │ ^^^^^^^^^^^ 4 │ --- 5 │ i Remove description yaml.css:4:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × expected `,` but instead found `-` 2 │ title: Title 3 │ description: Description > 4 │ --- │ ^ 5 │ 6 │ a { i Remove - yaml.css:4:3 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × expected `,` but instead found `-` 2 │ title: Title 3 │ description: Description > 4 │ --- │ ^ 5 │ 6 │ a { i Remove - ```