**Prettier 3.6.2** [Playground link](https://prettier.io/playground/#N4Igxg9gdgLgprEAuEBaABAQwDpV+9DAI1xABoQIAHGAS2gGdlRMAnViAdwAU2EmUmADadMATyYUirTGADWcGAGVMAWzgAZWlDjIAZsIZwKEIgCs4YGAHUZVZCCqs4R1gDddUmfMVKqs7QBzZBhWAFdjECNVWhDwyLgADyo4Vlp1WGEAeRSZGAhWbggGWjpoBwQAE3IQJNz0hBhhABVUqDZaF31DSJKoQKE4AEUwiHhuoSMKMwZEpSDBkbHdJANJyIBHUfhuDioBEEwGVB04SrOa0MxaISCAYQhVVUwHYSEavoG4AEEYUNoiGEdqktDoJlMQAALGCqITWSGlFz+MBwJT8Uq0NylMQOMAMSQgNwRACSUHOsCUYDSNG+ZKUMDEg3BkScxTgtkw9hQThcqQ8NW0rhgu0wgWezIo-lYrgcz1YckqXCgNSc2hstEqMEhyAAHAAGCjOLa0ZwisUvVY9ChNIjWDVa5AAJgoYSMzUwRAEawhcFURDO50qGkw-TCorgADECs8-kFXkCICAAL5JoA) ```sh # Options (if any): --parser markdown ``` **Input:** ```md - a - b ``` **Output:** ```md - a - b ``` **Expected output:** ```md - a - b ``` **Why?** According to the [CommonMark spec](https://spec.commonmark.org/0.31.2/#loose): > A list is [**loose**](https://spec.commonmark.org/0.31.2/#loose) if any of its constituent list items are separated by blank lines, or if any of its constituent list items directly contain two block-level elements with a blank line between them. Otherwise a list is [**tight**](https://spec.commonmark.org/0.31.2/#tight). (The difference in HTML output is that paragraphs in a loose list are wrapped in `` tags, while paragraphs in a tight list are not.) In this example, the loose version renders as ```html a b ``` - a - b while the tight version renders as ```html a b ``` - a - b The removed `` visibly changes the vertical spacing. Prettier should not change the meaning of Markdown code by switching loose lists to tight or vice versa. - Cc @byplayer (#16637)