mirror of
https://github.com/theoludwig/markdownlint-rule-relative-links.git
synced 2024-12-08 00:45:32 +01:00
Théo LUDWIG
6c4e8cec9c
Similar to https://github.com/DavidAnson/markdownlint/blob/main/doc/md051.md Fixes #2 BREAKING CHANGE: Validate links fragments in relative links
22 lines
463 B
Markdown
22 lines
463 B
Markdown
# Valid
|
|
|
|
[basic.js](../basic.test.js)
|
|
|
|
![Image](./image.png)
|
|
|
|
![Absolute Path](/absolute/path.png)
|
|
|
|
[External https link](https://example.com/)
|
|
|
|
[External https link 2](https:./external.https)
|
|
|
|
[External ftp link](ftp:./external.ftp)
|
|
|
|
[Link fragment](./Invalid.md#existing-heading)
|
|
|
|
[Link fragment Repeated 0](./Invalid.md#repeated-heading)
|
|
|
|
[Link fragment Repeated 1](./Invalid.md#repeated-heading-1)
|
|
|
|
[Link fragment Repeated 2](./Invalid.md#repeated-heading-2)
|