PluginCommunity Plugin

Templater

A powerful template engine with dynamic dates, prompts, and JavaScript for automating note creation.

by SilentVoidTemplating
productivityautomationgetting startedwritingtemplate

Overview

Templater replaces Obsidian's basic core Templates with a full templating engine. It can insert dynamic dates, prompt you for input, run JavaScript, pull in the current file's metadata, and even trigger commands automatically when a note is created. If you find yourself typing the same boilerplate over and over, Templater eliminates it.

What is Templater?

A powerful template engine for Obsidian. Define templates with dynamic commands, JavaScript execution, user prompts, and system commands. Far more powerful than core templates.

Key Features

How to Install Templater

  1. 1Open Settings → Community plugins and disable Restricted mode.
  2. 2Click Browse, search for "Templater", then Install and Enable.
  3. 3Open the Templater settings tab and set your template folder location.
  4. 4Create a template note using <% %> command syntax.
  5. 5Insert it with the "Templater: Open insert template modal" command.

How to Use Templater

Templater commands are written between <% and %> tags. For example, <% tp.date.now("YYYY-MM-DD") %> inserts today's date in a specific format.

You can assign templates to folders so that any new note created there is automatically populated — perfect for daily notes, meeting notes, or book notes.

Details

GitHub stars
6k+
Platforms
Desktop, Mobile
License
GPL-3.0

Frequently Asked Questions

How is Templater different from the core Templates plugin?

Core Templates only does simple {{date}} substitution. Templater adds custom date formats, user prompts, JavaScript, and automatic template application — it is a full engine rather than a text snippet tool.

Do I need to know JavaScript to use Templater?

No. Many powerful templates use only the built-in tp.date and tp.file commands. JavaScript is optional for advanced automation.

Related Obsidian Plugins

Related Guides

Explore more Obsidian resources

Discover more plugins, themes, templates, and starter vaults to build your perfect Obsidian setup.