This is an amazing plugin btw, and it has completely transformed how I use AmpleNote. But I am having an issue. I have dynamic links for Weekly Reviews, Monthly Reviews, and Yearly reviews and they come up as tasks when I need to do them. Currently, my weekly reviews are setup like you showed yours in the video and they all create tasks for a Month, Year note. But when my monthly review comes up it creates a new Month, Year note instead of applying the template to the already existing note with all of the backlinks. Is there a way for me to add the '?' or '_' expressions like you explained here: "Auto-Creating Notes: Notes are created if they don't already exist. This can be suppressed with an optional prefix flag (?) or silent flag (_)." to this for the dynamic note linking feature or will it only create a new note with the same name each time. It seems like the only workaround is to find that note manually and then add the template from there using [[= or {{= , but I wanted the whole process automated. Please let me know if I am doing something wrong or if there is any other workaround.
User #89989
8:16pm on December 21, 2024
Thanks for your quick reply!
Well it might be difficult if Amplenote doesn't nativeley allow for it, and it probably wouldn't be that useful.
I made a custom weather plugin to insert the day's weather, was wondering if that could be automatically inserted.
Would the expressions in the tag section be easier to implement?
I appreciate the feedback! Which expressions do you have in mind? The Amplenote plugin api doesn't have a native way for plugins to integrate with each other, but if there are some specific expressions you are looking for I can see if they fit for this plugin
User #89989
8:26pm on December 20, 2024
This is such a great plugin!
I like the way it is so easy to create a new template link 👍
Could it be possible to allow any expressions (ie. from other plugins) to be inserted, rather than just time/date?
Also, allowing expressions in the tag section (ie. you could use it to create a new tag #date/yy/MM/dd) would be good!
New Nested Template Feature
Use template links ([[= ]] or {= }, they are interchangeable) within your dynamic templates to nest other templates.
You can specify a subsection of a template to use for insertion with # or #>. The # includes the section header, and the #> only uses the section inner content.
New Template Section Insertion
You can now select a section to insert with a new note link rather than inserting the whole template
You can use # or #> in a nested Template insertion link to insert that section. The '>' surpresses the section header on insertion
Note this feature is for new note links or nested insertion, not default template insertion. But if you want to use section insertion for a default template, just put the nested section insertion inside your default template. (a bit confusing but I'll try and make some example templates)
Examples:
{=project/Projects} inserts the Projects note as a template
[[=project/Project Dashboard#Active Projects]] inserts the Active Projects section of the Projects note
[[=daily-templates/{"EEEE":Today}#>Tasks]] inserts the content under the tasks section of the template for the day of the week, without the header
Usage Warning: If two templates nest insert each other you will end up in an infinite loop and crash the plugin 🤣, so don't do that.
5 Comments
This is an amazing plugin btw, and it has completely transformed how I use AmpleNote. But I am having an issue. I have dynamic links for Weekly Reviews, Monthly Reviews, and Yearly reviews and they come up as tasks when I need to do them. Currently, my weekly reviews are setup like you showed yours in the video and they all create tasks for a Month, Year note. But when my monthly review comes up it creates a new Month, Year note instead of applying the template to the already existing note with all of the backlinks. Is there a way for me to add the '?' or '_' expressions like you explained here: "Auto-Creating Notes: Notes are created if they don't already exist. This can be suppressed with an optional prefix flag (?) or silent flag (_)." to this for the dynamic note linking feature or will it only create a new note with the same name each time. It seems like the only workaround is to find that note manually and then add the template from there using [[= or {{= , but I wanted the whole process automated. Please let me know if I am doing something wrong or if there is any other workaround.
Thanks for your quick reply!
Well it might be difficult if Amplenote doesn't nativeley allow for it, and it probably wouldn't be that useful.
I made a custom weather plugin to insert the day's weather, was wondering if that could be automatically inserted.
Would the expressions in the tag section be easier to implement?
Thanks for your great work!
I appreciate the feedback! Which expressions do you have in mind? The Amplenote plugin api doesn't have a native way for plugins to integrate with each other, but if there are some specific expressions you are looking for I can see if they fit for this plugin
This is such a great plugin!
I like the way it is so easy to create a new template link 👍
Could it be possible to allow any expressions (ie. from other plugins) to be inserted, rather than just time/date?
Also, allowing expressions in the tag section (ie. you could use it to create a new tag #date/yy/MM/dd) would be good!
But anyway, this plugin is amazing 😁
Update to Dynamic Templater Plugin - New Features
New Nested Template Feature
Use template links ([[= ]] or {= }, they are interchangeable) within your dynamic templates to nest other templates.
You can specify a subsection of a template to use for insertion with # or #>. The # includes the section header, and the #> only uses the section inner content.
New Template Section Insertion
You can now select a section to insert with a new note link rather than inserting the whole template
You can use # or #> in a nested Template insertion link to insert that section. The '>' surpresses the section header on insertion
Note this feature is for new note links or nested insertion, not default template insertion. But if you want to use section insertion for a default template, just put the nested section insertion inside your default template. (a bit confusing but I'll try and make some example templates)
Examples:
{=project/Projects} inserts the Projects note as a template
[[=project/Project Dashboard#Active Projects]] inserts the Active Projects section of the Projects note
[[=daily-templates/{"EEEE":Today}#>Tasks]] inserts the content under the tasks section of the template for the day of the week, without the header
Usage Warning: If two templates nest insert each other you will end up in an infinite loop and crash the plugin 🤣, so don't do that.
Leave a comment
Login to Amplenote to leave a comment