Include note about Markdown ignore comments (#17060)

Include not about Markdown ignore comments
This commit is contained in:
Nicholas C. Zakas authored and GitHub committed 2025-02-02 23:54:30 +09:00
1 parent 7d9a9a1628
commit 918aeb4ef1
1 file changed
+2
+2
View File
@@ -145,6 +145,8 @@ This type of ignore is only allowed to be used in top-level and aimed to disable
<!-- prettier-ignore-end --> <!-- prettier-ignore-end -->
``` ```
**Important:** You must have a blank line before `<!-- prettier-ignore-start -->` and `<!-- prettier-ignore-end -->` for Prettier to recognize the comments.
## YAML ## YAML
To ignore a part of a YAML file, `# prettier-ignore` should be placed on the line immediately above the ignored node: To ignore a part of a YAML file, `# prettier-ignore` should be placed on the line immediately above the ignored node: