Add text automatically to new note

I want to add front matter to a new note that is created automatically, but only if the title contains archive.

Here is my use case :

I’m using task archiver to move completed tasks to an archive note. When I move the completed tasks, the plugin creates a note called archive. I want this specific note to be created with a predefined front matter :

expires: <"YYYY-MM-DD")%>

Related discussion on the expiring note plugin.

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