1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 07:30:12 +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": {
"title": "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": [
{
"body": "${1:path/to/file}.png"
@ -324,7 +324,7 @@
"logo": {
"title": "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": [
{
"body": "${1:path/to/file}.png"