mirror of
https://github.com/theoludwig/markdownlint-rule-relative-links.git
synced 2025-05-27 11:37:24 +02:00
feat: support columns numbers (and line range) in links fragments
Fixes #7
This commit is contained in:
1
test/fixtures/invalid/invalid-line-column-range-number-fragment/awesome.md
vendored
Normal file
1
test/fixtures/invalid/invalid-line-column-range-number-fragment/awesome.md
vendored
Normal file
@ -0,0 +1 @@
|
||||
# Awesome
|
@ -0,0 +1,31 @@
|
||||
# Invalid
|
||||
|
||||
[Invalid](./awesome.md#L12-not-a-line-link)
|
||||
|
||||
[Invalid](./awesome.md#l7)
|
||||
|
||||
[Invalid](./awesome.md#L)
|
||||
|
||||
[Invalid](./awesome.md#L7extra)
|
||||
|
||||
[Invalid](./awesome.md#L30C)
|
||||
|
||||
[Invalid](./awesome.md#L30Cextra)
|
||||
|
||||
[Invalid](./awesome.md#L30L12)
|
||||
|
||||
[Invalid](./awesome.md#L30C12)
|
||||
|
||||
[Invalid](./awesome.md#L30C11-)
|
||||
|
||||
[Invalid](./awesome.md#L30C11-L)
|
||||
|
||||
[Invalid](./awesome.md#L30C11-L31C)
|
||||
|
||||
[Invalid](./awesome.md#L30C11-C31)
|
||||
|
||||
[Invalid](./awesome.md#C30)
|
||||
|
||||
[Invalid](./awesome.md#C11-C31)
|
||||
|
||||
[Invalid](./awesome.md#C11-L4C31)
|
3
test/fixtures/valid/valid-line-column-range-number-fragment/awesome.md
vendored
Normal file
3
test/fixtures/valid/valid-line-column-range-number-fragment/awesome.md
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# Awesome
|
||||
|
||||
## L12 Not A Line Link
|
@ -0,0 +1,11 @@
|
||||
# Valid
|
||||
|
||||
[Valid](./awesome.md#l12-not-a-line-link)
|
||||
|
||||
[Valid](./awesome.md#L30-L31)
|
||||
|
||||
[Valid](./awesome.md#L3C24-L88)
|
||||
|
||||
[Valid](./awesome.md#L304-L314C98)
|
||||
|
||||
[Valid](./awesome.md#L200C4-L3244C2)
|
Reference in New Issue
Block a user