Ebonsignori / obsidian-at-symbol-linking

Adds ability to link with @ in Obsidian. Can limit @ linking to specific folders e.g. People/
MIT License
60 stars 9 forks source link

Feature Request: #12

Closed Sidneys1 closed 1 year ago

Sidneys1 commented 1 year ago

Expanding on the features added in #6, when creating a new contact from a template, could we get some features like the "Templates" core plugin where it'll expand {{variables}} upon copying the template?

For example, if my template file contains:

---
aliases: []
---

# {{title}}

And I create a new contact, "@Sidneys1", I'd expect the template to be cloned to a new file named Sidneys1 with the content:

---
aliases: []
---

# Sidneys1
Ebonsignori commented 1 year ago

You could accomplish this with https://github.com/SilentVoid13/Templater and enabling this setting, image Then in your template you can have <% tp.file.title %> and it will be replaced by the filename.

But, I think this is worth supporting the same 3 variables that the core templates function supports in this plugin.

Added in https://github.com/Ebonsignori/obsidian-at-symbol-linking/releases/tag/1.4.4

Thanks for the suggestion!