-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Default Template doesn't work with nested folders #8
Comments
I can confirm that applying a template for the root folder does not work for subfolders, but templates for any other folder works in my testing with subfolders. |
🤦♂️ You're right. I was in my Math folder. I could've sworn I couldn't get this to work the other day... Nonetheless, support for a default specified on |
Yeah I understand. It's because the root folder path is |
I see. Perfect, thank you so much. And thank you for making such a nice plugin - it is a real life-saver! |
Should be fixed now! |
Hi @Vinzent03!
CC @Moonbase59
Thank you so much for adding support for default templates for specific folders!
I have noticed that it currently doesn't work with nested folders though, which is something I would find super useful.
Expected Behaviour
Default templates work for nested folder structures.
/a/
and/a/b/
have templates specified, use template for/a/b/
Actual Behaviour
Does not work for nested folders.
My setup is:
But the template is only activated for files that are in
/
directly, not in, for example/Physics/
.This is not just for defining templates in
/
though. I have a template set for/Physics/
as well in order to try to alleviate this, but/Phyiscs/Quantum/newfile.md
will not make use of the/Physics/
template.The text was updated successfully, but these errors were encountered: