On 6 Okt., 22:01, Saverio <
saverio.mavig...@gmail.com> wrote:
> A real use case example is that I have tiddlers that represent tasks.
> Tasks tagged with 'urgent' are red. However, tasks tagged with 'done'
> should be displayed with strikethrough. Currently, which style gets
> displayed is the *first* tag in the tiddler's tag list, not the *last*
> tag recorded, nor some other "semi-intelligent" algorithm for
> reconciling. A sophisticated method would be to be able to define a
> hierarchy of tags, and the system applies the styles sequentially from
> low to high (higher tags overwriting the style of lower tags when they
> are mutually exclusive). In my example, completed urgent tasks would
> be both red and strikedthrough.
>
> Not an urgent use case that I need, but something for you to think
> about in your free time. :-)
>
> Thanks!
Both ideas make a lot of sense!
1) a global priority list (top to bottom)
2) the last added tag being the dominant one instead of the first
I hope 2) wont nag a lot of people as they have to reorder things. But
considering that ColoredLinksPlugin isn't all that old, let's hope
that its not such a big trouble.
On the other hand, I guess it would be somewhat simply doable to have
an option as to whether priority is given left to right or right to
left... Makes the algorithm a bit more complex but, still, fairly
straight forward.
Again... I'll think about it... in all of my "free time" ;o)
Cheers, Tobias.