I can’t find how filter a list of tag, I want remove the tags that aren’t been used. I tried different ways with/without filter operator(/run prefix) but it doesn’t work. I must have missed something. I also try it with !is[blank]
Example:
This return all system tags. But I want only $:/tags/Macro and $:/tags/Stylesheet becuase they are the ones that I used in my tiddlers. Here the output would be:
$:/tags/Macro
$:/tags/Stylesheet
I am not able to find the filter expression that works. I want a final output something like:
This will list all tiddlers tagged with the tags you want. If you only want the tiddlers you made, you can remove the all[tiddlers+shadows] part (I added Description Details element for formatting).
Here I “hard-coded” the tags but you could use a more complex filter like
[tags[]creator{$:/status/UserName}]
To list all the tags you created + their respective tiddlers.
Thanks @telumire , but in my example we know the tags and the tiddlers. But I have looking for the general case when we need the system tags that are been used and the tagged tiddler.
The context:
The idea is create a solution for The problem with "custom solutions" . I have started working on the part of system tags. I don’t want display all tags if they aren’t been used.
@Alvaro good to see you have an answer. Keep in mind the difference between tiddlywiki.com and empty.html Very few if these system tags are in use in empty.html while tiddlywiki.com is a place we read and test thing by way of the documentation and examples many “system tags” are in use.
Also, apart from choosing “shadows or tiddlers” you can always determine if it is a system tiddler, but this can also translate to prefix[$:/] as well.
@saqimtiaz’s elegant solution is testing “[is[tiddler]]” which means when a tiddler is a shadow tiddler but it is an overwritten one. Overwritten relative to the $:/core or plugin it originated from. This is a good proxy to your request;
Perhaps this could be better stated as;
I want to filter the list to get only the system tags that are been used in [non-system] tiddlers.
I know it seems like a subtle point in the use of words, but it is important in our/your long term understanding of Tiddlywiki and to help you communicate your needs to others here.
However “No question is a stupid question, no matter how many times you ask”.
Yes, and the person who needs help not only needs a solution, but the knowledge needed to find future solutions or at least to ask the “best Questions” they can.
As a prolific volunteer in Discourse I Am very happy to help, but if, “when I help”, I try and give useful and answers to future possible questions, or better ways to ask questions, through education, I have more time to answer more questions.