pvojtechovsky / obsidian-link-with-alias

Obsidian plugin for handy creation of links and alias in front matter of target document
MIT License
36 stars 2 forks source link

[BUG] Templater is not applied #24

Open gBonvenuto opened 2 weeks ago

gBonvenuto commented 2 weeks ago

Describe the bug When applying aliases to a note that doesn't exist, and then creating the note. The Templater metadata that was supposed to be applied, is not, and all the metadata there is are the aliases

To Reproduce Steps to reproduce the behavior:

  1. Create a link with alias to a note that doesn't exist yet
  2. Open that link (which will create the note)

Expected behavior The note should be created with the appropriate template, and after that the aliases should be applied. But only the aliases are applied and no template

Screenshots image

The expected behavior: image

What happens: image

pvojtechovsky commented 1 week ago

I am not using integration with templater, so it is not in my interest to learn how templater works in order to be able to make my plugin compatible with templater plugin.

However I agree that it would be nice to have it compatible. So a pull request with the fix is welcome. I will gladly check it and merge if possible.