**Prettier 3.6.2** [Playground link](https://prettier.io/playground/#N4Igxg9gdgLgprEAuEBGAdAAgIIB0r4BMWAQvphQAbUBGAhgM4AW5FANg65tZfvgMxYAwlx71mXDqOp8oAFiwARaZXEsoFTFI1UZUEABoQEAA4wAltAbJQdAE52IAdwAK9hNZR02TugE9rIxo7OjAAazgYAGU6AFs4ABlzKDhkADNvBjgjCBoAKzgwGAB1EJNkEBM7OCy7ADdUoJDwyKiTUOSAc2QYOwBXbJAs2PMe-sG4AA8TODtzeNhvAHkZkJgIOxcIBnMLaAqEABNDECnV+YQYbwAVWah7cxr0zMGdqE62OABFPoh4Z44gzyDEmUS6nx+f1SSAygKMAEdfvAXI4TJ4QIwALQpOCHXEnXp0cxsLpCCCxWJ0A4MACsJzeHzg2BgvXMND6yNmSRSAKyRiYMFibGKTF2NXaYDgUQ8u3MdV2fgqYAYgRAdQGAEkoHjYFEwHMzNhtVEYH5PrzBlVtnBSnRyigqjVZg0TslajAUXROpSLUZ2nZahVKXYwodnPo-XNYMVzIcYExkAAOAAMRmqiPM1U93qpMJeRiuNBjcYTSEIRj6WWudBonlhfNOsRouLxhwSdHefS9cAAYhtKSyuhU6ByICdgZMSM0ItE4olktD63AAL7LoA) <!-- prettier-ignore --> ```sh --parser markdown --trailing-comma es5 ``` **Input:** <!-- prettier-ignore --> ````markdown 1. A 2. B ```bash ls ``` 3. C ```bash ls ``` 4. D ```bash ls ``` ```` **Output:** <!-- prettier-ignore --> ````markdown 1. A 2. B ```bash ls ``` 3. C ```bash ls ``` 4. D ```bash ls ``` ```` **Expected output:** <!-- prettier-ignore --> ````markdown 1. A 2. B ```bash ls ``` 3. C ```bash ls ``` 4. D ```bash ls ``` ```` OR ````markdown 1. A 2. B ```bash ls ``` 3. C ```bash ls ``` 4. D ```bash ls ``` ```` **Why?** Formatting is inconsistent and may be misinterpreted by other tools. All code blocks should either have a newline before them or none of them should.