I have this
[[$:/state/kp-showHideBracketContents/view]text[show]] :then[[kp-showHideBracketContents/template/hideBrackets]] :else[[kp-showHideBracketContents/template/showBrackets]]
in a tiddler tagged $:/tags/ViewTemplateBodyFilter
with a list-before field containing $:/config/ViewTemplateBodyFilters/default
.
The intended changes work as expected. How do I restrict this effect only for tiddlers tagged with “Journal” ?
I tried
[all[current]tag[Journal][$:/state/kp-showHideBracketContents/view]text[show]] :then[[kp-showHideBracketContents/template/hideBrackets]] :else[[kp-showHideBracketContents/template/showBrackets]]
and also
[all[current]tag[Journal]] +[[$:/state/kp-showHideBracketContents/view]text[show]] :then[[kp-showHideBracketContents/template/hideBrackets]] :else[[kp-showHideBracketContents/template/showBrackets]]
but didn’t work.
I’m missing something in the syntax. Pls point me in the right direction.