Can I add [[]] & {{}} to operators?

For a link, I would like to use my own text. For example, if I were to use the [[Days of the Week]] as an example, and I were to use this filter:

<$list filter="[list[Days of the Week]before{!!title}]" variable="day">
  <!-- How can I add [[]] around <<day>> to make that into a link?  -->
  <<day>>
  <!-- Would like to add custom text to the link like this: -->
  [[←|<<day>>]]
  or
  [[→|<<day>>]] <!-- When using after{!!title} -->
</$list>
1 Like

The most direct way would be to use the <$link> widget:

<$link to=<<day>>>My text</$link>

Of course, it seems so obvious now. Thanks.

Just to add to Marks wise words; often the short form is sufficient to link to current tiddler;

<$link/>

one advantage being is if there is camelcase in the tiddler name it is not separately clickable; In effect the short form expands to;

The common full form;

<$link to=<<currentTiddler>> ><$text text=<<currentTiddler>></$link><br>

Eg; <$link to=<<day>>>←</$link>

Oh, and in the original post you mention {{}}, this is the short form of transclude, in many ways short forms are less useful when using variables so we revert to the long form.

<$list filter="[list[Days of the Week]before{!!title}]" variable="day">
    <$transclude tiddler=<<day>>/>  <!-- transcludes day as template -->
</$list>

Equivalent to {{||<day>}} that will not work