I like to add metadata to nodes when I’m working with Streams, such as [[project]], [[todo]], etc.. Then I’m able to see all of those streams as backlinks on those tiddlers. I wanted to create a macro to format those links to create a visual separation between the rest of the node’s text. For example:
The macro works but whenever I use it to create metadata links on a node, the node does not show up in the backlinks of the tiddler that I linked it to.
Am I doing something wrong, or is there a better method to achieve this?
I think the backlinks need to see the [[tiddler name]], and only constructing it in a macro means it does not exist until your viewing each tiddler in which the macro is used. Rather than use the macro perhaps use styling as below;
Thanks, @TW_Tones ! I think the stylesheet sounds like the best option. I just tried it out and it works perfectly. And it has the benefit of being able to format multiple metadata links at once rather than calling the macro several times.
You’ve given me some good ideas. I think I might look into adding the class by default in new streams.