From 918aeb4ef15f97a68ca35c7237896236e38e758e Mon Sep 17 00:00:00 2001 From: "Nicholas C. Zakas" Date: Sun, 2 Feb 2025 09:54:30 -0500 Subject: [PATCH] Include note about Markdown ignore comments (#17060) Include not about Markdown ignore comments --- docs/ignore.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/ignore.md b/docs/ignore.md index 80d901682..2634632c5 100644 --- a/docs/ignore.md +++ b/docs/ignore.md @@ -145,6 +145,8 @@ This type of ignore is only allowed to be used in top-level and aimed to disable ``` +**Important:** You must have a blank line before `` and `` for Prettier to recognize the comments. + ## YAML To ignore a part of a YAML file, `# prettier-ignore` should be placed on the line immediately above the ignored node: