When we use lots of tags in a wiki, it can become difficult to find the ones we want. In particular, we often end up using tags for multiple purposes, which can be somewhat confusing. Already in our example wiki, we're using tags to pick out types of tiddlers (e.g., meeting, contact, knowledge), to create hierarchies, and to add miscellaneous bits of metadata to things (e.g., whether something is a software application).
One great way to tell apart tags used for different purposes is to add colors and icons to them. TiddlyWiki makes this easy to do using the tag manager, which you can find under the Tools tab in the sidebar.
One tricky point can be getting the same color across multiple tags, since the color picker does not save recently used colors. The easiest way is to pick a tag that already has the color you want, click the info button (not the color picker), and copy the hex code from the bottom (that's the bit that looks like #000000
). Then you can paste that in for the new tag.
Exercises
Set the tags corresponding to tiddler types (Contact
, Journal
, Meeting
, and Project
) to solid red (#ff0000
) and give them a tag icon ($:/core/images/tag-button
).
How do you think the color and icon of tags are stored?
go to answerWrite a filter to find all tiddlers tagged with red tags. Make sure you figure out Ex:TagMetadataStorage first, or you won't have much luck.
Hint: Review the Tags section of Common Filter Operators.
go to answer