dprint / dprint-plugin-markdown

Markdown code formatting plugin for dprint.
MIT License
27 stars 9 forks source link

Extra blank line added after dprint-ignore comment when file is CRLF #26

Closed dsherret closed 4 years ago

dsherret commented 4 years ago

Weird:

Testing:
<!-- dprint-ignore -->
```json
{
  "extends": "https://dprint.dev/path/to/config/file.v1.json",
  // ...omitted...
}

Formats as:

````md
Testing:

<!-- dprint-ignore -->

```json
{
  "extends": "https://dprint.dev/path/to/config/file.v1.json",
  // ...omitted...
}