1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-28 01:10:58 +01:00

Added gif and webp to the regex of the images patterns in theme schema

This commit is contained in:
DaviAMSilva 2024-09-29 19:47:19 -03:00 committed by Martin Donath
parent 1c742ef51a
commit 06490f141d

View File

@ -314,7 +314,7 @@
"favicon": { "favicon": {
"title": "Favicon", "title": "Favicon",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/#favicon", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/#favicon",
"pattern": "\\.(ico|png|svg|jpe?g)$", "pattern": "\\.(ico|png|svg|jpe?g|gif)$",
"defaultSnippets": [ "defaultSnippets": [
{ {
"body": "${1:path/to/file}.png" "body": "${1:path/to/file}.png"
@ -324,7 +324,7 @@
"logo": { "logo": {
"title": "Logo", "title": "Logo",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/#logo", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/#logo",
"pattern": "\\.(png|svg|jpe?g)$", "pattern": "\\.(png|svg|jpe?g|gif|webp)$",
"defaultSnippets": [ "defaultSnippets": [
{ {
"body": "${1:path/to/file}.png" "body": "${1:path/to/file}.png"