Skip to content

Commit

Permalink
fix: 更正markdownlint-cli2用法 (#42)
Browse files Browse the repository at this point in the history
Co-authored-by: folgerfan <[email protected]>
  • Loading branch information
folger-fan and folgerfan authored Mar 22, 2024
1 parent 440f7fa commit 2fe3dc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/markdown/markdownlint-cli2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ linting Markdown files with the markdownlint。
## 在 Docker 上使用

```shell
docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) davidanson/markdownlint-cli2 **/*.md
docker run -w /myfolder -v $(pwd):/myfolder davidanson/markdownlint-cli2 docs/**/*.md

docker run -w /myfolder -v $(pwd):/myfolder davidanson/markdownlint-cli2 --fix docs/**/*.md
```

尝试自动修复检查过程中发现的问题
Expand Down

0 comments on commit 2fe3dc7

Please sign in to comment.