Skip to content

Commit 06490f1

Browse files
DaviAMSilvasquidfunk
authored andcommitted
Added gif and webp to the regex of the images patterns in theme schema
1 parent 1c742ef commit 06490f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/schema/theme.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@
314314
"favicon": {
315315
"title": "Favicon",
316316
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/#favicon",
317-
"pattern": "\\.(ico|png|svg|jpe?g)$",
317+
"pattern": "\\.(ico|png|svg|jpe?g|gif)$",
318318
"defaultSnippets": [
319319
{
320320
"body": "${1:path/to/file}.png"
@@ -324,7 +324,7 @@
324324
"logo": {
325325
"title": "Logo",
326326
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/#logo",
327-
"pattern": "\\.(png|svg|jpe?g)$",
327+
"pattern": "\\.(png|svg|jpe?g|gif|webp)$",
328328
"defaultSnippets": [
329329
{
330330
"body": "${1:path/to/file}.png"

0 commit comments

Comments
 (0)