feat(markdown-language-features): #208398 add avif as image extension (#212547)

This commit is contained in:
BrunoSoaresEngineering 2024-05-13 16:29:10 +01:00 committed by GitHub
parent e13f3f5b24
commit 3fdda617d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ enum MediaKind {
export const mediaFileExtensions = new Map<string, MediaKind>([
// Images
['avif', MediaKind.Image],
['bmp', MediaKind.Image],
['gif', MediaKind.Image],
['ico', MediaKind.Image],

View File

@ -9,6 +9,7 @@ export const Mime = {
} as const;
export const mediaMimes = new Set([
'image/avif',
'image/bmp',
'image/gif',
'image/jpeg',