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:
theoludwig committed 2026-02-05 17:46:14 +01:00
1 parent 12a22980ce
commit 211c71d75b
6 files changed
+30 -5

No files matched your search

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