On Thursday, August 27, 2020 at 1:52:18 PM UTC-7, Mat wrote:
>
> Eric Shulman wrote:
>>
>> You can also limit the effect of tv-wikilinks by using 
>> <$vars>...</$vars>, like this:
>>
>> <$vars tv-wikilinks="no">
>> {{{[[2020-06-26]split[-]first[]]}}}  THIS IS NOT A LINK
>> </$vars>
>>
>
> Huh? So... tv-wikilinks <https://tiddlywiki.com/#tv-wikilinks%20Variable> 
> is some kind of "environmental variable" to control how *other *variables 
> behave?
>

Not exactly.  Most tv-* variables modify the behavior of some *widget*.  In 
this case, as written in the documentation:

*The tv-wikilinks variable controls the behaviour of the $link widget.*
 

> In that docs tiddler it is not quite clear that it can be used this way. 
>

The difference between using
\define variablename() ...
and
<$vars variablename="..."> 
...
</$vars>
is that the \define syntax applies to the whole tiddler in which it occurs, 
while the <$vars>...</$vars> syntax has more limited scope.

Also, if a tiddler is tagged with "$:/tags/Macro", then the \define syntax 
will automatically be exported as a global macro, whereas the 
<$vars>...</$vars> syntax will not.

-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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b834ccf3-c002-474b-8545-7aef0c850f7bo%40googlegroups.com.

Reply via email to