How to make Prettier ignore markdown comments for newlines
18:43 25 Aug 2021

I have a markdown file with:


## Title name

but when I format it with Prettier, it will automatically add a newline:



## Title name

Is there any way to stop Prettier from doing this will keeping its other formatting functionalities? Because I like using Prettier to break up large text blocks into 80 character width lines.

If not, are there any vscode formatters that will just break up lines into 80 character width lines without adding newlines?

markdown prettier prettier-vscode