From 08fb51483b319d22bcca464d04e88ee01e3ddce1 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 20 Aug 2021 13:34:59 -0700 Subject: [PATCH] prettier: Disable embedded language formatting for Markdown. Signed-off-by: Anders Kaseorg --- prettier.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/prettier.config.js b/prettier.config.js index f649929ff0..0631ff5889 100644 --- a/prettier.config.js +++ b/prettier.config.js @@ -11,5 +11,11 @@ module.exports = { quoteProps: "preserve", }, }, + { + files: ["*.md"], + options: { + embeddedLanguageFormatting: "off", + }, + }, ], };