Skip to content

Commit

Permalink
pre-commit md-dead-link-check
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderDokuchaev committed Feb 26, 2024
1 parent d38b5f2 commit cae939e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@ repos:
hooks:
- id: markdownlint
args: [--config=.markdownlint.yaml]

- repo: https://github.com/AlexanderDokuchaev/md-dead-link-check
rev: v0.1.0
hooks:
- id: md-dead-link-check
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ File: tests/test_md_files/fail.md:13 • Link: a.md#fail • Error: Not found fr

### From pip

```python
```bash
pip install md-dead-link-check
cd <git_repository_directory>
md-dead-link-check
```

Expand All @@ -35,10 +34,10 @@ md-dead-link-check
Adding to your .pre-commit-config.yaml

```yaml
- repo: https://github.com/AlexanderDokuchaev/md-dead-link-check
- repo: https://github.com/AlexanderDokuchaev/md-dead-link-check
rev: v0.1.0
hooks:
- id: md-dead-link-check
- id: md-dead-link-check
```
### From github repo
Expand All @@ -47,7 +46,6 @@ Adding to your .pre-commit-config.yaml
git clone https://github.com/AlexanderDokuchaev/md-dead-link-check
cd md-dead-link-check
pip install .
cd <git_repository_directory>
md-dead-link-check
```

Expand Down

0 comments on commit cae939e

Please sign in to comment.