Kebi,

I feel you making a conclusion at the beginning, of the statement of your 
problem that is incorrect.

   - Without any wikitext ? This is how tiddlywiki works?

*I have tested the below code on tiddlywiki.com inside the 
tiddler HelloThere*

Perhaps some additional info will help
{{{ [all[current]backlinks[]] }}}
This is a quick way to display backlinks in the current tiddler using the 
triple braces

<$list filter="[all[current]backlinks[]]">

</$list>
This also lists each of the backlinks, inside the list widget the current 
tiddler is changing to each tiddler with a backlink. 

   - Notice how the result is a list of links? No need to see it as 
   "[[tiddleranme]]" it is treated as such already!

If you want to use a filter in a macrocall pass it as a parameter or hard 
code it in the macro

\define my-backlinks(filter) {{{ $filter$ }}}
<<my-backlinks "[all[current]backlinks[]]">>
or
<$macrocall $name=my-backlinks filter="[all[current]backlinks[]]"/>

Or
\define my-backlinks2(filter)
<$list filter="$filter$">

</$list>
\end
<$macrocall $name=my-backlinks2 filter="[all[current]backlinks[]]"/>

Since the above macros operate on the current tiddler we can use the list 
of backlinks to get the back links for each tiddler (that is a backlink)

\define my-backlinks(filter) {{{ $filter$ }}}
\define my-backlinks3(filter)
<$list filter="$filter$">
  Backlinks here <<currentTiddler>><br>
  Backlinks there <<my-backlinks "[all[current]backlinks[]]">>
</$list>\end
<$macrocall $name=my-backlinks2 filter="[all[current]backlinks[]]"/>


\define my-backlinks(filter) {{{ $filter$ }}}
\define my-backlinks3(filter)
<$list filter="$filter$">
  Backlinks here <<currentTiddler>><br>
  Backlinks there <<my-backlinks "$filter$">>
</$list>
\end
<$macrocall $name=my-backlinks3 filter="[all[current]backlinks[]]"/>
You will notice some tiddlers listed do not behave as links, because they 
have spaces etc...

\define my-backlinks4(filter)
<$list filter="$filter$">
   <$link/> 
</$list>
\end
\define my-backlinks3(filter)
<$list filter="$filter$">
  Backlinks to here <$link/><br>
  Backlinks to there <<my-backlinks4 "$filter$">><br>
</$list>
\end
<$macrocall $name=my-backlinks3 filter="[all[current]backlinks[]]"/>

Regards
Tony


On Wednesday, August 19, 2020 at 9:43:15 AM UTC+10, kebi wrote:
>
> Tony,
> without any wikitext what I'm trying to accomplish is to have a filter 
> that returns the title of a tiddler that contains a backlink with [[ ]] 
> brackets, without using the default filter for backlinks, because it 
> doesn't work with text inside a macrocall (and I need to have text and 
> backlinks inside the macrocall because I'm using the plugin TiddlyRemember 
> <https://sobjornstad.github.io/TiddlyRemember/)>)
>

-- 
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/a6914f4f-a9d2-49d4-874d-00732bfef0c3o%40googlegroups.com.

Reply via email to