Hello everyone,
I am having a persistent issue with the Templater plugin where it seems to only be partially executing my templates.
My Goal:
I have a template designed to create a new project note. The template should:
- Prompt for a project name.
- Rename the new file based on the name.
- Move the new file to my “/01 - Pending/” folder.
- Insert the note’s structure and dynamic commands, like placing the cursor at a specific point.
The Problem:
When I use the template, steps 2 and 3 (renaming and moving the file) work correctly. However, any Templater command inside the note’s body, like <% tp.file.cursor() %>
or <% tp.date.now() %>
, is not executed. It is left as plain text in the final note.
What I Have Already Tried:
I have spent a long time debugging this and can confirm the following:
The Templater community plugin is installed and enabled.
The core Templates plugin is disabled to prevent any conflicts.
The Templater setting “Trigger Templater on new file creation” is enabled.
Despite all of this, Templater only executes file-level commands but not inline/body commands.
System Information:
- Obsidian Version: 1.8.1
- Templater Version: 2.12.1
Does anyone have any idea what could be causing this specific partial failure? Is there a known conflicting plugin or a hidden setting I might be missing?
Thank you for any help you can provide.