Thanks for the tips, and for the submitted feature request! Since in this 
case I know what plugin tiddler the backlinks will be coming from, I was 
able to hack together a version that comes at the links from the other 
direction, which presumably isn't terribly performant but seems to work all 
right:

[[$:/plugins/sobjornstad/GrokTiddlyWiki]plugintiddlers[]] 
:filter[links[]match<currentTiddler>] [all[current]backlinks[]]

Since the backlinks aren't visible until you click an expand button, I 
don't think the performance hit will be noticeable.

On Thursday, April 8, 2021 at 5:15:31 PM UTC-5 si wrote:

> @Soren It's ugly, and maybe you have already thought of it, but you could 
> try something like this:
>
> <$list filter="[all[current]]">
> <$vars lb="[[" rb="]]">
> <$vars search-term={{{ [<lb>addsuffix<currentTiddler>addsuffix<rb>] }}} >
> <$list filter="[all[shadows]search<search-term>]">
> <$link> <<currentTiddler>> </$link>
> <br>
> </$list>
> </$vars>
> </$vars>
> </$list>
>
> You could use the regex operator to also get backlinks for links that use 
> the | syntax or camel case.
> On Thursday, 8 April 2021 at 19:01:14 UTC+1 Soren Bjornstad wrote:
>
>> Is there any way I can obtain backlinks that exist within shadow tiddlers 
>> (i.e., tiddler B is a shadow tiddler that links to tiddler A, and I want to 
>> see that link with, e.g., [[A]backlinks[]])? I've placed most of the 
>> content of *Grok TiddlyWiki *in a plugin to make it easy to update in 
>> the future, but this seems to have broken the backlinks display (no 
>> backlinks are ever detected to anything). I don't see any options to the 
>> filter operator or anything like that.
>>
>> It's fairly important that the backlinks be available, so I'm not quite 
>> sure what to do if there's no known way to accomplish this – any thoughts?
>>
>

-- 
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/7e6d1e50-7317-41c5-ae60-75c590d2e49en%40googlegroups.com.

Reply via email to