When I type a text action like \today or \assign-date inside a template, the action is removed once I press enter.
It would be a great addition to add text actions that can be executed when a new note is created from a template, so it can be assign a date, or put it directly into the agenda, without extra clicks.
These actions are indeed not yet supported in templates, would indeed be nice to add support for them, we’ll take a look.
Gibt es Neuigkeiten zu diesem Thema?
Ich vermisse auch diese Aktionen in den Vorlagen. Ich verwende häufig Vorlage mit dem Titel „\date(for: tomorrow, format: EEEE • dd.MM.yyyy)“ und muss dann die Zuordnung zum Datum ändern. Ist zwar auch relativ schnell erledigt, aber die Textaktion „\assign-date(tomorrow)“ direkt in der Vorlage wäre viel effizienter. Oder mache ich etwas falsch und es gibt eine andere Möglichkeit?
Automated Translation:
Any news on this topic?
I also miss these actions in the templates. I often use template titled “\date(for: tomorrow, format: EEEE • dd.MM.yyyy)” and then need to change the mapping to the date. It’s done relatively quickly, but the text action “\assign-date(tomorrow)” directly in the template would be much more efficient. Or am I doing something wrong and there is another option?
Look up details
No news yet, but something we’d like to make possible.
It’s already 2025 and I still miss the function much more than before.
Is there still hope?
Thanks for the feedback. We’ll see what we can do, but are a bit bogged down by other projects at the moment.
That’s on my list of things I still miss and want to remember. It mustn’t be forgotten.
Thanks for bump. Will look at this.
To be clear, the issue is that you can’t just put, say, \today in a template?
Right. And it should be expanded when the template is instantiated, not at template creation.
Right, that’s exactly the idea. The action would be stored unexpanded in the template and only run when you instantiate a new note from it, so something like \assign-date(tomorrow) or \today would do its thing at that point rather than being stripped out.
It’s on the list. Thanks for confirming the exact behaviour you’re after.