\define h(*t1 t2 t3 t4 t5 t6 t7 t8 t9 t10*) <$vars un="__"> <mark> <$list filter="*t1 t2 t3 t4 t5 t6 t7 t8 t9 t10* +[addprefix<un>addsuffix<un>getvariable[]]" variable="myvar"> <<myvar>> </$list> </mark> </$vars> \end
Notice the parts in bold blue are identical. You don't have to decorate each parameter with $dollarSigns$. This may seem unnecessary, but you might feel differently if you wanted to highlight a two hundred word citation. On Tuesday, April 14, 2020 at 3:26:22 PM UTC-7, Mat wrote: > > Mark S. wrote: >> >> Sure, but then you have to construct a new substitution variable for each >> argument. With this approach, you can just copy the parameters into the >> filter. >> > > ...That must either be a pretty funny joke OR I have no idea what you're > talking about :-) > > <:-) > -- 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/ac75f32f-85a1-4787-9325-a57a9aa1ae97%40googlegroups.com.

