81 字
1 分钟
Obsidian 的templator使用

模版#

首先我们创建一个template

---
title:
published: <% tp.date.now("YYYY-MM-DD") %>
description:
tags: []
category:
draft: false
---
# <% tp.file.title %>
<% tp.web.daily_quote() %>
<< [[<% tp.date.now("YYYY-MM-DD", -1) %>]] | [[<% tp.date.now("YYYY-MM-DD", 1) %>]] >>

部署#

然后设置folder trigger 到 “/” 指向template 最后新建笔记就好啦!

[!quote] If one is lucky, a solitary fantasy can totally transform one million realities. — Maya Angelou

Obsidian 的templator使用
https://blog.lishuyu.top/posts/obsidian_templator/
作者
猫猫魔女
发布于
2025-09-23
许可协议
CC BY-NC-SA 4.0