G'day Tim,

Because I really much prefer short-hand transclusions over macros, I just 
looked at that approach, and I fiddled a little bit with your 
implementation because I prefer type as little as possible and let the 
Transclusion template do as much of the work as possible.

(Code pasted after the two screenshots)

[image: Screenshot 2024-09-14 11.30.11 AM.png]

[image: Screenshot 2024-09-14 11.31.30 AM.png]


Ignore the triple-tick delimiters (needed by Talk TiddlyWiki for TW code)

```
<$list filter="[search:title,caseinsensitive{!!title}!match[tAbbr]]">
<$button tooltip={{!!text}}>{{!!title}}</$button>
</$list>
```
and
```
Using an abbreviation works like this long hand: {{{ togaf || tAbbr }}}


```

On Saturday, September 14, 2024 at 10:49:35 AM UTC-3 Tim Pizey wrote:

> Hi,
>
> At https://timp.tiddlyhost.com/#Inline%20abbreviation%20example
>
> I use a global macro to find a tiddler by name and render it as a button.
>
> I would welcome code review or comments.
>
> best wishes
> Tim
>
> -- 
> Tim Pizey - http://tim.pizey.uk/
>

-- 
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/b6a654c3-887a-4574-9bd1-09a11bff96fdn%40googlegroups.com.

Reply via email to