Include note about Markdown ignore comments (#17060)
Include not about Markdown ignore comments
This commit is contained in:
1 parent
7d9a9a1628
commit
918aeb4ef1
1 file changed
+2
@@ -145,6 +145,8 @@ This type of ignore is only allowed to be used in top-level and aimed to disable
|
||||
<!-- 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
|
||||
|
||||
To ignore a part of a YAML file, `# prettier-ignore` should be placed on the line immediately above the ignored node:
|
||||
|
||||
Reference in new issue
Block a user