<$list filter="[prefix[ExcelLogo]!tag[summary]]"> <$link />: <blockquote> <$transclude mode="block" /> </blockquote> </$list>
One more question the tag(like <$transclude mode="block" />) in the $list wiget will use the list result one by one as parameter? What is the basic mechanism or implementation method here? On Monday, September 21, 2020 at 10:55:54 AM UTC+8 Eric Shulman wrote: > On Sunday, September 20, 2020 at 7:21:39 PM UTC-7, [email protected] > wrote: >> >> <<list-links "[prefix[ExcelLogo]!tag[summary]]">> >> which can list all the certain links. But I need all links show the >> content. >> Like "{{}}" effect. How to make it? >> > > The <<list-links>> macro is just a short cut for using the <$list> > widget. However, as you've noticed, it only outputs links to tiddlers, not > content. To produce more complex output, you need to use the <$list> widget > instead. > > Something like this: > <$list filter="[prefix[ExcelLogo]!tag[summary]]"> > <$link />: > <blockquote> <$transclude mode="block" /> </blockquote> > </$list> > > 1) $list matches the specified filter, and automatically sets > <<currentTiddler>> for use in the widget contents > 2) $link creates a link using the <<currentTiddler>> title as the default. > 3) The <blockquote>...</blockquote> is standard HTML, to show the tiddler > content indented with a vertical line along the left. > 4) $transclude shows the content of the <<currentTiddler>>. > 5) Note use of mode="block" to ensure that tables, headings and lists are > formatted properly (as compared to mode="inline") > > references: > https://tiddlywiki.com/#LinkWidget > https://tiddlywiki.com/#TranscludeWidget > > enjoy, > -e > -- 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/69a0ab85-eaf5-4157-b038-7268e8f04b3an%40googlegroups.com.

