Thanks, that works.  I added the *<div style="..."></div>* line directly to 
*$:/core/macros/list*, whose first code block now begins like this (if it 
matters, the version is 5.1.23-prerelease):

\define list-links(filter,type:"ul",subtype:"li",class:"",emptyMessage)
\whitespace trim
<$type$ class="$class$">
<$list filter="$filter$" emptyMessage=<<__emptyMessage__>>>
<$subtype$>
<$link to={{!!title}}>
<$transclude field="caption">
<$view field="title"/>
</$transclude>
</$link>
*<div style="height:1em;"></div>*
</$subtype$>
</$list>
</$type$>
\end

This had my intended visual effect automatically throughout the wiki, so 
I'm happy with that!

But is it bad practice to directly edit a core Tiddler like this macro, and 
not indicate anywhere in my wiki that I've done so?
Or is this fine, supposing that I remember to take this edit into account 
when updating the version of my wiki?

On Sunday, November 15, 2020 at 1:54:47 PM UTC+2 Eric Shulman wrote:

> On Sunday, November 15, 2020 at 2:24:59 AM UTC-8 [email protected] wrote:
>
>> Hello, I would like to slightly increase the empty space between bullet 
>> points generated by:
>> <<list-links "[tag[tagName]]">>
>>
>
> To implement your own customized version of the <<list-links>> macro, use 
> the <$list> widget, like this:
>
> <$list filter="[tag[tagName]]">
>    <$link />
>    <div style="height:0.5em;"></div>
> </$list> 
>
> Notes:
> * The filter syntax is the same as used in the macro
> * Within the $list widget, the matching tiddler title is available as 
> <<currentTiddler>>
> * $link widget with no params defaults to creating a link to the 
> <<currentTiddler>>
> * The <div style="..."></div> is standard HTML and CSS syntax for creating 
> a blank spacer line of the specified height
>
> -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/b67f4934-f590-465c-9051-78de76a373c8n%40googlegroups.com.

Reply via email to