mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-12 16:24:03 +02:00
Change svg from text to image format.
This commit is contained in:
@@ -242,7 +242,7 @@
|
||||
"preview-img": {
|
||||
"enabled": true,
|
||||
"size": false,
|
||||
"types": ["img", "img-bmp", "img-gif", "img-ico", "img-jpg", "img-png", "img-raw"]
|
||||
"types": ["img", "img-bmp", "img-gif", "img-ico", "img-jpg", "img-png", "img-raw", "img-svg"]
|
||||
},
|
||||
|
||||
/*
|
||||
|
@@ -18,6 +18,7 @@
|
||||
"img-jpg": ["*.jpg", "*.jpeg"],
|
||||
"img-png": ["*.png"],
|
||||
"img-raw": ["*.cr2", "*.nef"],
|
||||
"img-svg": ["*.svg"],
|
||||
"img-tiff": ["*.tiff"],
|
||||
"txt": ["*.text", "*.txt"],
|
||||
"txt-build": ["*.pom", "build.xml", "pom.xml"],
|
||||
@@ -44,7 +45,6 @@
|
||||
"txt-rust": ["*.rs", "*.rlib"],
|
||||
"txt-script": ["*.conf", "*.bsh", "*.csh", "*.ini", "*.ksh", "*.sh", "*.shar", "*.tcl", "*.zsh"],
|
||||
"txt-source": [],
|
||||
"txt-svg": ["*.svg"],
|
||||
"txt-tex": ["*.tex"],
|
||||
"txt-vcal": ["*.vcal"],
|
||||
"txt-xml": ["*.xml"],
|
||||
|
Reference in New Issue
Block a user