(sorry - I'm having trouble getting the backticks escaped and this is the best I could do)
with the idea that the file title will be capitalized and may have spaces, but the tags I use are always lowercase and have dashes/hyphens instead of spaces.
So, for example, if I create a file (based on the template in question) with a file name of "North Africa", the file will have this as the tag summary query:
```add-summarytags: #north-africa```
Hope that makes sense.
I'm running into a problem that has me a bit baffled.
Part of the time when I create a new file based on the template, it works perfectly - a new file is created and the tag summary query is included with the exact tag I expect.
But part of the time (so far, it either takes two or three tries - without fail) the place where the tag summary query should appear has been deleted (the entire line of the file).
It seems like the tag-summary part of the query is causing the problem. If I eliminate the starting line with "add-summary" and the ending line with the backticks, it works consistently.
Any thoughts? Have you had any reports that the tag-summary plugin doesn't play well with either the QuickAdd plugin or the templater plugin?
I hope I've explained this well enough, but if there are any questions about how I've set this up, of course, feel free to ask.
Hi. I'm using a combination of three plugins - QuickAdd, Templater, and Tag-Summary - to pull in tagged content when I create a file from a template.
The template uses this Templater variable within a tag summary query:
```add-summary
tags: #<%tp.file.title.replace(/ /g, '-').toLowerCase()%>
```
(sorry - I'm having trouble getting the backticks escaped and this is the best I could do)
with the idea that the file title will be capitalized and may have spaces, but the tags I use are always lowercase and have dashes/hyphens instead of spaces.
So, for example, if I create a file (based on the template in question) with a file name of "North Africa", the file will have this as the tag summary query:
```add-summary
tags: #north-africa
```
Hope that makes sense.
I'm running into a problem that has me a bit baffled.
Part of the time when I create a new file based on the template, it works perfectly - a new file is created and the tag summary query is included with the exact tag I expect.
But part of the time (so far, it either takes two or three tries - without fail) the place where the tag summary query should appear has been deleted (the entire line of the file).
It seems like the tag-summary part of the query is causing the problem. If I eliminate the starting line with "add-summary" and the ending line with the backticks, it works consistently.
Any thoughts? Have you had any reports that the tag-summary plugin doesn't play well with either the QuickAdd plugin or the templater plugin?
I hope I've explained this well enough, but if there are any questions about how I've set this up, of course, feel free to ask.
Thanks in advance!