fix: cleaner code + better error messages

This commit is contained in:
2024-01-09 23:20:17 +01:00
parent fcd0340e57
commit 1ddcdc7b18
10 changed files with 94 additions and 56 deletions

View File

@ -43,7 +43,7 @@ With `awesome.md` content:
Running [markdownlint-cli2](https://github.com/DavidAnson/markdownlint-cli2) with `markdownlint-rule-relative-links` will output:
```sh
awesome.md:3 relative-links Relative links should be valid [Link "./invalid.txt" should exist in the file system]
awesome.md:3 relative-links Relative links should be valid ["./invalid.txt" should exist in the file system]
```
### Additional features