ttscoff/doing

How to make tags colored when using show/last/today

krzysiek-b opened this issue · 7 comments

Seems the template contains title which contains tags. My goal would be to color the tags in same manner theya re colored when adding new entry (orange?).

Is there any template tag I can use to spearatelly display title and its tags ?

image

If you set tags_color in the root config or in any template (default in this case), it should highlight tags. Set it to any color name that the template engine recognizes (see doing colors).

There is a %tags placeholder, but there's not one that shows a title minus tags.

Perfect, thanks!

I think we have a small bug here. This seems to work as expected for today but when I use last the first tag is not using colors. Maybe the regex pattern does not catch it. My entry was done like this doing now @tagA @tagB text text text and @taga was not using colors for doing last

The last command provides colorized tags for me...

I'm not sure why you wouldn't be getting them. The other tags in the entry are colored?

The problem exists always on my side and it might be connected with me using Ubuntu on Windows. I will try use it directly on Windows or Ubuntu and let you know if you're interested?