Skip to content

Commit b612d63

Browse files
IderAghbaltiensonqin
authored andcommitted
feat: add support for avif and cr2 images
1 parent 755840c commit b612d63

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

deps/common/src/logseq/common/config.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494

9595
(defn img-formats
9696
[]
97-
#{:gif :svg :jpeg :ico :png :jpg :bmp :webp})
97+
#{:gif :svg :jpeg :ico :png :jpg :bmp :webp :avif :cr2})
9898

9999
(defonce block-pattern "-")
100100

src/main/frontend/config.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
#{:doc :docx :xls :xlsx :ppt :pptx :one :pdf :epub})
176176

177177
(def image-formats
178-
#{:png :jpg :jpeg :bmp :gif :webp :svg :heic})
178+
#{:png :jpg :jpeg :bmp :gif :webp :svg :heic :avif :cr2})
179179

180180
(def audio-formats
181181
#{:mp3 :ogg :mpeg :wav :m4a :flac :wma :aac})

0 commit comments

Comments
 (0)