如何把某个标题层级下的内容汇总展示

试试这个,代码放在周志文件中(格式:2022-W50)

```dataview
table 
    dateformat(date, "ccc") as 星期, 
    L.text as 感悟和思考, 
    L.link as 链接
from "30-Life/每日笔记"
flatten file.lists as L
where 
    !L.parent and
    meta(L.section).subpath = "感悟和思考" and
    dateformat(date(file.link), "yyyy-'W'WW") = this.file.name   
 ```
1 个赞