46 lines
1.3 KiB
Markdown
46 lines
1.3 KiB
Markdown
---
|
||
aliases:
|
||
banner: "https://image.kfdr.top/i/2023/08/27/64eb100b771c6.jpg"
|
||
banner_y: 0.25
|
||
banner_lock: true
|
||
created: 2023-07-03 12:17:55
|
||
---
|
||
<div style="margin-top: -110px;"> <div style="float:left"><%+ tp.date.now("欢迎回来,克樊道人,今天是YYYY年M月Do dddd")%></div> <iframe style="float:right; margin-top:3px" width="300" scrolling="no" height="20" frameborder="0" allowtransparency="true" src="https://i.tianqi.com?c=code&id=34&color=%23C6C6C6&bdc=%23&icon=4&site=12"></iframe> </div><br>
|
||
|
||
---
|
||
|
||
>[!attention] 未名之约
|
||
>```dataviewjs
|
||
>const targetDate_1 = '2025-06-30'
|
||
>const prefix_1 = '距离上半年结束还有 '
|
||
>const suffix_1 = ' 天'
|
||
>const days_1 = Math.ceil((new Date(targetDate_1.replace(/-/g, '/'))-Date.now())/864e5)
|
||
>dv.span(prefix_1+'**'+days_1+'**'+suffix_1)
|
||
>```
|
||
|
||
>[!col]
|
||
>
|
||
>>[!summary] 无限进步
|
||
>>```dataview
|
||
>>table without id file.link as 项目, completed as 完成数, total as 总数,"<progress max=100 value=" + round((completed/total)*100) + "></progress> " as 总进度
|
||
>>from #Task
|
||
>>sort file.name
|
||
>>```
|
||
>
|
||
>>[!info] 运筹帷幄
|
||
>>```dataview
|
||
>>table without id file.link as 导航栏
|
||
>>From "Atlas"
|
||
>>Where file.name != "Amadeus"
|
||
>>sort file.name
|
||
>>```
|
||
>
|
||
>>[!example] 今日待办
|
||
>>```tasks
|
||
>>not done
|
||
>>due in today
|
||
>>path includes Calendar
|
||
>>hide backlink
|
||
>>hide edit button
|
||
>>short mode
|
||
>>``` |