feat: stricter validation of heading fragments by being Case sensitive

Fixes #8

BREAKING CHANGE: Heading fragments is now Case sensitive.
For example "#ExistIng-Heading" is invalid as it should be "#existing-heading".
This commit is contained in:
2024-05-27 22:50:43 +02:00
parent 450cdb84f0
commit 85f465306f
6 changed files with 19 additions and 10 deletions

View File

@ -1,3 +0,0 @@
# Awesome
## Existing Heading

View File

@ -1,3 +0,0 @@
# Valid
[Link fragment](./awesome.md#ExistIng-Heading)

View File

@ -1,3 +1,3 @@
# Valid
[Link fragment](./awesome.md#L7)
[Link fragment](./awesome.md#l7)