1.5 KiB
id, aliases, title, tags, dg-publish, date-created, daily, weekly, monthly, quarterly, yearly
| id | aliases | title | tags | dg-publish | date-created | daily | weekly | monthly | quarterly | yearly | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2026-04-17T14:57:07-0400 | 2026-04-17 14:57:07 |
|
true | 2026-04-17T14:57:07-04:00 | 2026-04-17 | 2026-W16 | 2026-04 | 2026-Q2 | 2026 |
2026-04-17 14:57:07
Templater Community Plugin
Templater is an obsidian community plugin which appears at first glance to be for note templates, like the Templates core plugin, but it's really more of a low-level plugin for executing arbitrary javascript on your vault which happens to be useful for templates.
I believe I tried it once before, but I bounced off the use patterns.
A "template" to Templater is better called a script, but unlike in most interpreters, text is passed through by default. Body text is not necessary either, you could have a "template" that's just straight JS (via the <%* %> syntax).
Many community plugins could be replaced with templates, namely those with simple behavior and no GUI.
I think Templater may be ideal for vault-maintenance scripts, one because it doesn't require a separate runtime, but mostly because scripts can be written in Obsidian.
Ensure all linked periodic notes exist:
- Get all linked periodic notes that don't exist
- Create each with all appropriate frontmatter properties
- Repeat until all exist.