feat!: stricter validation of image links (check if the file is an image)

BREAKING CHANGE: links like ![Image](./not-an-image.txt) will now report
an error
This commit is contained in:
2026-02-05 17:46:14 +01:00
parent 12a22980ce
commit 211c71d75b
6 changed files with 30 additions and 5 deletions

View File

@@ -0,0 +1,5 @@
# Invalid
![Image](../not-an-image.txt)
![Image 2](mailto:not-an-image@pictures.com)