1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Fix for blank lines around code fences (#38255)

This commit is contained in:
Grace Park
2023-06-26 10:21:48 -07:00
committed by GitHub
parent a4913b5935
commit a8a6e4554a
272 changed files with 1552 additions and 2 deletions

View File

@@ -175,6 +175,7 @@ For example, to search for files with the extension `txt`, you can use:
```
path:*.txt
```
<br>
To search for JavaScript files within a `src` directory, you could use:
@@ -187,11 +188,13 @@ path:src/*.js
```
path:/src/*.js
```
- Note that `*` doesn't match the `/` character, so for the above example, all results will be direct descendants of the `src` directory. To match within subdirectories, so that results include deeply nested files such as `/src/app/testing/utils/example.js`, you can use `**`. For example:
```
path:/src/**/*.js
```
<br>
You can also use the `?` global character. For example, to match the path `file.aac` or `file.abc`, you can use:
@@ -199,6 +202,7 @@ You can also use the `?` global character. For example, to match the path `file.
```
path:*.a?c
```
<br>
To search for a filename which contains a special character like `*` or `?`, just use a quoted string: