obsidian-auto-template-trigger
obsidian-auto-template-trigger copied to clipboard
Template variables are not filled in.
Or rather the title field gets filled in as Untitled, since it triggers the template creation before I has a chance to input the title.
With a template like this:
---
title: "{{title}}"
author: Alexander Kucera
created:
status:
tags:
---
# {{title}}
## References
I get a page that looks like this:
Testing a new note.md
---
title: "Untitled"
author: Alexander Kucera
created:
status:
tags:
---
# Untitled
## References
Is there a way to make this work?
@AlexKucera
I believe if you create a new note with the ctrl/command + O command (find or create note), then it would work as you would expect.
Issue is, when we click on the create note button, a new note is created with the name: Untitled, and the template is applied afterwards.
If we use the ctrl + O command, a new note is created with the entered name, thus the {{title}} will be correct.