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

@@ -36,7 +36,8 @@
"release": "semantic-release"
},
"dependencies": {
"markdown-it": "14.1.0"
"markdown-it": "14.1.0",
"mime": "4.1.0"
},
"devDependencies": {
"@types/markdown-it": "14.1.2",