This commit is contained in:
binghuai
2026-01-04 11:04:22 +08:00
parent ffa416449e
commit 01a54216a8

View File

@@ -0,0 +1,16 @@
formulas:
图片: file.embeds.filter(value.containsAny("png","jpg","webp","svg","jpeg"))[0]
properties:
formula.图片:
displayName: first_image
views:
- type: cards
name: 视图
filters:
and:
- file.basename.endsWith("月")
- file.ext == "md"
image: formula.图片
imageFit: ""
imageAspectRatio: 1.2
cardSize: 160