Buttons > using Templater make a new note with the raw template, not with generated content

Hey everyone,

I am currently using code below to generate notes using templater:

name btn
type note(not, split) template
action templater__assetX--item
templater true

However what I get is the raw template without the content generated. So far the template only has file date variable for test:

<%* const date = tp.date.now() %><%date%>

The file is not in the same folder as the template, which I suppose should not cause problems. My templates folder is set to the right one, it generates without any error.

I appreciate any help

Thank you.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.