Obsidian Templater Functions You Need To Know About

These will save time and make it fun to use obsidian

Prakash Joshi Pax
10 min readApr 29

--

midjourney

Templates can be incredibly useful tools for enhancing your productivity and efficiency. They give you a predefined structure and format, that can help you save your time and effort.

Templates is a useful plugin for Obsidian but the Templater community plugin is a more advanced and powerful one.

It allows you to insert variables and functions in your notes to automate a lot of manual work. This can create a powerful workflow that can help you streamline your workflow process.

In this article, we’ll go through some of the most useful templater functions for Obsidian.

Templater functions in this list will range from simple functions to more advanced functions. These are compiled by going through Templater’s documentation, reddit, & Obsidian Forum.

Automatically move notes to a particular folder

Do you manually move your notes into different folders for organization? I mean why? This templater function can do it for you.

<% await tp.file.move("/002 RESOURCES/" + tp.file.title) %>

It will be moved inside the 002 RESOURCES folder inside your vault.

Add a daily quote

Want to start your day with inspiration? This function will add a new quote to your daily note from the web.

<% tp.web.daily_quote() %>

Add a Random Picture

Want to add a visual element on your notes? This will add a random picture to your note from the web.

Just a random picture: <% tp.web.random_picture() %>
Random picture with size: <% tp.web.random_picture("600x400") %>
Random picture with size+ query: <% tp.web.random_picture("600x400", "mountains") %>

Templater functions for Daily Notes

These functions can be used to automatically add dates to your daily notes and navigate between yesterday’s and tomorrow’s daily notes. This can help you create a nice chain of links in graph view.

--

--

Prakash Joshi Pax

Avid Reader| Writer| Observer| On a journey to be a Better Self| If you follow, you will never feel hollow. Writings on PKM • Tools • Personal Growth • Money