zhangzz66 / meteordiary Goto Github PK
View Code? Open in Web Editor NEWDiary Template for Siyuan Note
License: MIT License
Diary Template for Siyuan Note
License: MIT License
想请教一下在TOC模板中,关于循环的部分
.action{range $v:=$block}
- ((.action{$v.ID}))
.action{end}
这部分是只能访问blocks表中的ID
属性吗?比如我想获取box
属性,可以实现吗?我自己试了一下都是error.
你好,看文档内的使用方法,不是很明白,
## 🧱((20210217233154-6r71zk3 "Daily work"))-.action{now | date "01/02"}
> 第一次日记模板设置方法:为方便使用汇总功能,请进入`/templates/Meteor/`下定制自己的`dailynote`模板
> 1. 新建`Daily work`或者其他名字的页面,然后复制页面的块引用
> 2. 在此模板中,找个空白的地方,粘贴块引用. 注意不要动里面的id
> 3. 把`🧱 Daily work`的ID `( (ID "文本") )`替换成你刚刚粘贴的部分的ID
> 4. 删除这段注释。找个空白文档,调用`dailynote`日记模板测试一下
{: id="20210226143641-owbh20s"}
{: id="20210226143641-konghan"}
因为刚刚开始使用思源笔记,不是很明白上述这段内容可以得到怎么样的效果。使用版本是 1.2.2
按上述操作 我不知道我理解的是否正确
使用 notepad 修改 dailynote.md 的模版文件
Daily work
的空白(?)页面,在文件名上使用 右键-复制-复制该块为引用块得到((20210728103617-xktbwt0))
类似的 id((20210728103617-xktbwt0))
20210728103617-xktbwt0
,这个我自己的得到的id 是去替换## 🧱((20210217233154-6r71zk3 "Daily work"))-.action{now | date "01/02"}
还是去替换{: id="20210226143641-owbh20s"}
,还是去替换{: id="20210226143641-konghan"}
接着我找个 笔记 插入 dailynote 模版,并没有发现与原来修改之前的差别,所以到底是怎么操作?或者该段代码起到的作用是什么?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.