On Friday, February 17, 2017 at 10:14:27 AM UTC-8, Douglas Counts wrote:
>
> I can successfully display the shadow tiddlers in a list like so:
>
> <$list filter="[all[shadows]sort[title]]"/>
>
>
The <<list-links>> *macro* can be used to quickly display filter results,
one per line, with bullets.
The <$links> *widget* is the underlying mechanism that the <<list-link>>
macro uses.
When used without a matching </$list> (i.e, by using a closing "/>" in the
"<$list .../>" syntax), it simply outputs the matching tiddler titles,
without any other special formatting. This is as intended. To output the
<$list> results with desired formatting, you must specify the output format
*inside* of <$list>...</$list>, like this:
<$list filter="..."> <<currentTiddler>><br> </$list>
Note: within the <$list> widget content, <<currentTiddler>> is the value of
each matched tiddler title. Thus, in the above example, each matched title
is display, one per line, using <br> to separate them.
<style>
> .my-class .tc-tiddlylink.tc-tiddlylink-resolves {
> background-color: yellow;
> }
> </style>
>
>
> @@.my-class
> <$list filter="[all[shadows]sort[title]]"/>
> @@
>
>
That is 99% correct. If you fix your usage for <$list>...</$list> as
described above, your CSS tweak should work just fine.
Let me know how it goes.
-e
Eric Shulman
TiddlyTools: Small Tools for Big Ideas! (tm)
InsideTiddlyWiki: The Missing Manuals
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/6834fccd-4ec9-4f2c-8c64-4cca8bb28fb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.