Skip to content

Commit

Permalink
Added gif and webp to the regex of the images patterns in theme schema
Browse files Browse the repository at this point in the history
  • Loading branch information
DaviAMSilva authored and squidfunk committed Oct 1, 2024
1 parent 1c742ef commit 06490f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/schema/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 06490f1

Please sign in to comment.