Seems silly because I did this a couiple days ago but can't remember what I did.Basically I want this {{{[[2020-06-26]split[-]first[]]}}} but the year as text not a link. The year is coming from a field tho.
you can do this:\define tv-wikilinks() no{{{[[2020-06-26]split[-]first[]]}}}and use the above in a template. So the define doesn't interfere with other text that may follow.
<$vars tv-wikilinks="no">
{{{[[2020-06-26]split[-]first[]]}}} THIS IS NOT A LINK
</$vars>
{{{[[2020-06-26]split[-]first[]]}}} THIS IS A LINK
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>
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 is some kind of "environmental variable" to control how other variables behave?
In that docs tiddler it is not quite clear that it can be used this way.
\define variablename() ...
<$vars variablename="...">
...
</$vars>
I do think there ought to be some sort of shortcut syntax for non-linked text in filtered transclusion. I wouldn't have a preference yet as to how it might look.
Amreus, Et Al...I do think there ought to be some sort of shortcut syntax for non-linked text in filtered transclusion. I wouldn't have a preference yet as to how it might look.I totally agree with this, but rather than say "non-linked text". I would say plain text. Its such a fundamental need, the long winded text widget is a pain when reading code.Just as a suggestion what it triple single quotes delimited it?'''{{{[[2020-06-26]split[-]first[]]}}}'''