shabegom / buttons

Buttons in Obsidian
The Unlicense
453 stars 47 forks source link

[enhancement] Templater Option applied to "Link" field #175

Closed BigGHS closed 5 months ago

BigGHS commented 1 year ago

It would be great to have the "Templater" option also apply to the "Link" option, i.e. it resolves the code to get the final link. This allows the creation of dynamic links, for example based on dates + additional text, e.g. "2023-04-21-Plan" created by the Templater command, <% "obsidian://open?vault=VaultName&file=Periodic%20Notes%2F" + tp.date.now("YYYY-MM-DD", -7) +"Plan" %>

shabegom commented 5 months ago

should work now. reopen if still an issue.