Document editor
Document templates
Drop `.md` templates into `Templates/`. Apply with one click on new docs.
Why templates
Repeating document structures is cognitive overhead. Typing "Attendees / Topics / Decisions / Action items" by hand for every meeting note is slow and inconsistent.
Templates freeze that structure into a .md file — instantiate with one click, structure stays uniform, and downstream scripts can analyze headings reliably later.
How to create a template
- Create a
Templates/folder at the vault root - Drop any
.mdfile there — the filename becomes the template name - Settings → Editor → Template folder lets you point elsewhere
- Templates can include
{{...}}placeholders (see below)
Example: daily-note template
# {{date:YYYY-MM-DD}} ({{date:dddd}})
## 今天的目标
- [ ]
## 笔记
## 决策与思考
## 明天的计划
- [ ]
---
昨天:[[{{date:-1d:YYYY-MM-DD}}]] 明天:[[{{date:+1d:YYYY-MM-DD}}]]Example: meeting-notes template
# {{title}}
> [!NOTE] 元信息
> 时间:{{date:YYYY-MM-DD HH:mm}}
> 参会:
## 议题
## 讨论
## 决议
- [ ]
## 行动项
- [ ] @负责人 — 任务 — 截止 {{date:+7d:MM/DD}}Available variables
{{date}}— current date, defaults toYYYY-MM-DD{{date:format}}— custom format, e.g.{{date:YYYY-MM-DD HH:mm}}{{date:+7d}}/{{date:-1d}}— relative date offsets (d / w / m){{time}}— current time{{title}}— doc title (entered when creating){{user}}— current username{{cursor}}— final cursor position after expansion{{clipboard}}— current clipboard content
How to apply
- Command palette → "Apply template..." inserts at the cursor
- Command palette → "New from template..." creates a fresh doc
- Right-click a folder in the sidebar → "New from template" places it there
- Bind hotkeys for hot templates in Settings → Hotkeys (e.g. daily-note on
Cmd + D)