WHERE contains(tags,"DataView") ``` ```dataview TABLE WITHOUT ID file.link as "文件名称", dateformat(file.cday,"yyyy-MM-dd") as "创建日期", choice(file.starred, "是", "否") as "加星" FROM "200-学习箱/210-知识库搭建" WHERE !contains(tags,"DataView") ``` // 如果 YAML ...
```dataview TABLE WITHOUT ID "**" + dateformat(file.day, "cccc") + "**" AS "Day" , choice(typeof(note) = "array", note, array(note)) AS "Notes" FROM "10 Example Data/dailys" FLATTEN "2022-W5" AS Week WHERE string(file.day.year) = split(Week, "-W")[0] AND string(...
```dataview TABLE WITHOUT ID file.name, file.mtime SORT file.ctime SORT hash(dateformat(file.ctime, "YYYY-MM-DD"), file.name) ``` 结果: striptime函数 striptime(date)函数用于去掉日期中的时间部分,只留下年、月和日。 `= striptime(this.file.ctime)` %% 2024-04-30 %% ...
第三步:Dataview 建立索引 创建一个新文件,命一个你容易识别的名字,比如我新建一个索引文件夹,专门放各类索引。把这个新文件命名为“阅读列表”。 开始写Dataview代码: ```dataview table 书名,作者,分类,来源,阅读状态 from "工作流演示/文献" sort file.ctime desc ``` table:创建一个表格。后面跟的“书...
--- cssClasses: cards --- > [!tldr]- 摄影日志 > ```dataview > table > ("![](" + ...
使用方法 ```dataview TABLE|LIST|TASK(展现形式) <field> [AS "显示列名"],..., <field> ...
Improved table navigation, formatting, and manipulation in Obsidian.md obsidian-pluginobsidian-md UpdatedOct 23, 2024 TypeScript ivan-lednev/obsidian-day-planner Star2.1k An Obsidian plugin for day planning with a clean UI and a simple task format ...
利用dataview 提供的 choice 函数,我们可以把输出值修改为 emoji,使得表格更加直观,下面给了两种使用示例,可以参考这两段代码的使用方式以及结果构建属于自己的 dataview 查询语句。 ```dataview TABLE choice(praying, '💚', '➖') AS Praying,
A collection of dataview scripts which can be utilized within your Obsidian.md notes to perform various tasks and display data. About Snippets Table of Contents: Version 1 Table of Contents: Version 2 Subfolder Data Bad Links: Version 1 ...
Dataview 下载次数:45908插件描述: Advanced queries over your vault for the data-obsessed.对您的保管库进行高级查询,以了解数据痴迷者。 Mind Map 下载次数:41970插件描述: Displays markdown notes as mind maps using Markmap.使用 Markmap 将 Markdown 笔记显示为思维导图。