Files
zmVault/timestamped/2026-04-17_14-57-07.md

1.3 KiB

id, title, tags, date-created, daily
id title tags date-created daily
2026-04-17T14:57:07-0400 2026-04-17 14:57:07
status/draft
2026-04-17T14:57:07-04:00 2026-04-17

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:

  1. Get all linked periodic notes that don't exist
  2. Create each with all appropriate frontmatter properties
  3. Repeat until all exist.