I would say it is possible with this general idea:
<div class="mywrap">
<$list filter="[tag[tests]]">
<div class={{!!title}}>{{!!title}}</div>
<style> .mywrap.{{!!title}}:not(:first-of-type) {background:yellow}</style>
</$list>
</div>
The above will likely *not* work right away but it shows the idea. For
example, for the title to work as a class name it must follow css naming
conventions (and you can use some modifying filters in a $vars or $set to
make it be so). And you might have to split out the content of the
listwidget into a separate macro.
<:-)
On Friday, July 30, 2021 at 1:03:33 AM UTC+2 [email protected] wrote:
> Hi ,
>
> is it possible to highlight duplicates in a list , or make them stand out
> in a different format/color , you know similar to excel
>
> so in the below example ,i have a list that returns tiddlers matching a
> certain criteria , and then displays their title field value , and also the
> value in a custom field i named "field_example"
>
> tiddler1 and tiddler4 have the same value in the custom field and the
> value is "X"
>
> can i highlight tiddler 1 and tiddler 4 maybe in red ?
>
> [image: duplicates.PNG]
>
--
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/620a5821-8762-4398-b898-44843722c90bn%40googlegroups.com.