Insert the relative path of the file automatically when applying the template to it?

Hi!

Is there any way I can insert the relative path to the file AUTOMATICALLY(!) when applying the template?

At the moment I know only 1 way - manually.

Thank you!

ps Ideally, the result of the insertion should look like this:

[[Main folder]] | [[Subfolder 1]] | [[Subfolder 2]]

  1. Plugin Templater
  2. Examples

File Folder with relative path: <% tp.file.folder(true) %>

To immediately create a file from a template, use the command:
Templater: Create new note from template - Alt + N

PS this solves part of the problem

2 Likes

Such awesome new features for templater :heart_eyes:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.