Prettier formats code in fenced code blocks! When I type three backticks and then a code block, Prettier evaluates the code in the block and tries to format it per my global .prettierrc.

I write a lot of technical markdown. I always wonder if my fenced code blocks are valid, and want them to be formatted per my preferences. Now, my dev tooling handles this automatically.

You can disable it with a <!-- prettier-ignore --> comment.

GitHub Issue