Skip to content

Commit

Permalink
fix: 更正markdownlint-cli2用法
Browse files Browse the repository at this point in the history
  • Loading branch information
folgerfan committed Jan 26, 2024
1 parent b79695f commit 53fc2de
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 --rm -it -w /myfolder -v $(pwd):/myfolder -u root davidanson/markdownlint-cli2 docs/**/*.md

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

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

0 comments on commit 53fc2de

Please sign in to comment.