Mat,

Yes, I am looking forward to such opportunities but I wanted to use the 
<<tag tagname>> as normal and sometimes change the label. 

The solution I have from this thread is good though.

Would your suggestion still leave the tagname also in the label?.

Regards
Tones

On Wednesday, 7 July 2021 at 21:42:27 UTC+10 Mat wrote:

> Tones wrote:
>
>> For example I wanted to have a label on a tag-pill, rather then the tag 
>> name yet have the same tag drop down. Can you suggest a method? Ideally 
>> without modifying the macro?
>>
>
> You could experiment with CSS which, in one sense, is perfect for labels 
> and to "not modify the macro". With the coming 5.1.2 we will have 
> css-targetable 
> tags <https://github.com/Jermolene/TiddlyWiki5/issues/5543>. You can then 
> label the tab via a css pseudo element, something like so (this is just 
> rough to illustrate the idea)
>
> span[data-tag-title="xxxxx"]:after {
> content:"MYLABEL";
> position:absolute;
> left:0;
> background:red;
> }
>
> <:-)
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/06707bc0-5973-40ec-84c0-818da9f6cb26n%40googlegroups.com.

Reply via email to