generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude additional (custom) paths from Trigger Templater on new file creation
#326
Labels
enhancement
New feature or request
Comments
JeppeKlitgaard
added a commit
to JeppeKlitgaard/Templater
that referenced
this issue
Sep 29, 2021
Implements folder-based templates similar to the functionality provided by Vinzent03's `Hotkeys for Templates` plugin. Since Templater also implements hotkeys directly, I think most people will now be able to get all the functionality from Hotkeys for Templates using just Templater. Since this functionality supercedes the empty file template functionality, that has been removed. Fixes: SilentVoid13#326
Merged
SilentVoid13
added a commit
that referenced
this issue
Sep 29, 2021
* chore(gitignore): vscode * fix: spelling * feat: folder-based templates. Implements folder-based templates similar to the functionality provided by Vinzent03's `Hotkeys for Templates` plugin. Since Templater also implements hotkeys directly, I think most people will now be able to get all the functionality from Hotkeys for Templates using just Templater. Since this functionality supercedes the empty file template functionality, that has been removed. Fixes: #326 * docs: Document folder templates * refactor(foldertemplates): Use interface instead of array * refactor(foldertemplates): cleaning code, refactoring a few things to make it pr-ready Co-authored-by: SilentVoid13 <51264226+SilentVoid13@users.noreply.github.com>
Re-opening because I initially misunderstood the request. A future version of Templater will add a way to ignore custom folders when using the "Trigger Templater on new file creation" option |
Whoops, my bad for leading you astray on that one. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Problem: a nested vault's templates (within nested vault's templates folder) are rendered when
Trigger templater on new note creation
is enabled for the parent vault and a file change (sync) occursI see that Templater does not
Trigger templater on new note creation
within the defined path of the templates folder of the parent vaultDescribe the solution you'd like
Can this feature be extended to prevent triggering on defined paths?
Describe alternatives you've considered
Right now, I have the setting disabled, but I found it very helpful when quickly creating notes based on file names. I'm not sure of a workable way around the problem I described without leaving the setting disabled.
Additional context
The Templater setting I am referring to:![image](https://user-images.githubusercontent.com/87744778/129281876-df92ba07-2457-431c-9b1c-bf778c585163.png)
Lastly, Templater is so awesome. It takes obsidian to a whole other level. Thank you for creating and sharing it!
The text was updated successfully, but these errors were encountered: