SilentVoid13 / Templater

A template plugin for obsidian
https://silentvoid13.github.io/Templater
GNU Affero General Public License v3.0
3.16k stars 190 forks source link

Template stopped working with automatically created note #464

Closed RankkaApina closed 2 years ago

RankkaApina commented 2 years ago

Plugin informations (please complete the following information):

Describe the bug I have used my template with some timestamps successfully for a long time. It also pulls the filename as the first header. Suddenly it stopped working with the zettelkasten notes. Well, it works, as in the template appears in the note. But it appears as code. So instead of pulling the title, it has: <% tp.file.title %>

I manually add the template, it gives me the correct format.

Expected behavior I expect the note to have the result of the code, not the code

Additional context I tried this also in a clean context with a new vault and only adding the templater plugin. I can't get it to work. Although I haven't changed anything in my vault (but I thought maybe an update broke it, although if it's Obsidian update, then of course that would be the case in the new vault too).

RankkaApina commented 2 years ago

I feel really stupid now... Somehow the templater trigger for new files had toggled and wasn't selected... So: feature, not a bug.