mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2026-07-06 18:00:48 +02:00
Add another example to README.md.
This commit is contained in:
@@ -11,6 +11,7 @@ for linting [Markdown][markdown]/[CommonMark][commonmark] files with
|
||||
Glob expression(s) of files to lint (newline-delimited)
|
||||
|
||||
The default `*.{md,markdown}` lints all Markdown files in the base directory
|
||||
of a project
|
||||
|
||||
## Outputs
|
||||
|
||||
@@ -18,6 +19,12 @@ The default `*.{md,markdown}` lints all Markdown files in the base directory
|
||||
|
||||
## Examples
|
||||
|
||||
To lint Markdown files in the base directory of a project:
|
||||
|
||||
```yaml
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v1
|
||||
```
|
||||
|
||||
To lint all Markdown files in a project:
|
||||
|
||||
```yaml
|
||||
|
||||
Reference in New Issue
Block a user