When I write a .md file with VS Code and I save, it automatically formats my code. While this is generally what I want, the formatting it uses bothers me.
For instance, I like to have control over two things:
- I like to do my h1 titles using === separator below the title
- I like to control how many carriage return I have between sections of my file
but every time I save, all my manual formatting disappears and vscode reformats like this:
- all my h1 titles use the # prefix instead of the = notation
- there is always exactly one line in-between each section, which makes it harder to read imho
Is it possible to configure vscode/prettier to stop those kind of formatting, while keeping the format on save feature?
Or can I just disable prettier for .md files?