TW5: Formatting the list-widget output

98 views
Skip to first unread message

rooster91an

unread,
Apr 1, 2015, 10:50:34 AM4/1/15
to tiddl...@googlegroups.com
Hi there,
my question is about formatting the list-widget output. I tried some lists like this:

<$list filter="[tag[2015]]">
<ul><li><$link to={{!!title}}><$view field="title"/></$link></li></ul>
</$list>

This parses correctly the tiddlernames with leading bullets. But there ist always a space between the lines.

When using the manual listing feature like

*[[tiddlerone]]
*[[tiddlertwo]]

the output is the tiddlernames with leading bullets, but the lines are straight among each other.

How can I format the list-widget output without the spaces between the lines?

Thank you very much.

Oliver

Mat

unread,
Apr 1, 2015, 3:36:16 PM4/1/15
to tiddl...@googlegroups.com
<div style="line-height:50%;">
<$list filter="[tag[menu]]">

<ul><li><$link to={{!!title}}><$view field="title"/></$link></li></ul>
</$list>
</div>


<:-)

Jeremy Ruston

unread,
Apr 1, 2015, 4:45:40 PM4/1/15
to tiddl...@googlegroups.com
Hi Oliver

Try moving the UL tags outside of the repeating list like this:

<ul>
<$list filter="[tag[2015]]">
<li><$link to={{!!title}}><$view field="title"/></$link></li>
</$list>
</ul>

Best wishes

Jeremy.

rooster91an

unread,
Apr 8, 2015, 5:42:23 AM4/8/15
to tiddl...@googlegroups.com
Hi Jeremy,
thank you so much. This is exactly what I searched for. Thanks for prompt answer.
TW is so cool :-)

Oliver
Reply all
Reply to author
Forward
0 new messages