What is this?
This shows how to automatically insert properties
to your note in Obsidian. Rather than having to type out or copy/paste each time, you can create a shortcut to do this automatically. This example will create the following properties:
---
title: note-title
date: 2025-05-10
tags:
- publish
---
Step 1: Install the Templater plugin
https://github.com/SilentVoid13/Templater Make sure you’ve plugins enabled then search for this and install it. There’s loads of resources to do this
Step 2: Configure the plugin
The only thing you need to do here is configure the “Template Folder Location” to be a specific folder. You can name it anything but choose a name of a folder that’s not already in your vault. I’ve chosen templates
Step 3: Create your template
Now create the templates
folder and create a new file in it, called properties
---
title: <% tp.file.title %>
date: <% tp.date.now("YYYY-MM-DD") %>
tags:
- publish
---
You can edit this to add whatever properties and tags you wish.
Step 4: Test it out
In a new or existing note, place your cursor at the very start of the file. Now execute the template by opening the command pane (cmd/ctrl + P
) and searching for Templater: Open insert template model
and then select the properties
function
Going further
You can specify an exact hotkey for your template so you don’t even need to go via the command pane. This can be done via the Templater settings