Hello si,

Not sure if I have well understood what you wan to achieve.
Wouldn't the following call do the job?

<$list filter="[prefix<currentTiddler>sort[title]]" 
template="$:/core/ui/ListItemTemplate"/>

(You can change the template or use the <$list ...> ... </$list> syntax if 
you prefer.)

Best regards,

Eskha

Le mardi 2 mars 2021 à 00:16:22 UTC+1, si a écrit :

> Thanks for the replies.
>
> Soren is correct - the value "root/folder" has to be the input tiddler. I 
> was struggling to express this well so thanks @Soren.
>
> The filter itself does not need to create a tree. It just needs to look at 
> the input tiddler, then return any tiddlers in the wiki of the form "<input 
> tiddler>/blah". As Soren mentioned it doesn't look like it's actually 
> possible.
> On Monday, 1 March 2021 at 18:52:59 UTC si wrote:
>
>>
>> Hi all,
>>
>> I am trying to figure out if there is a filter expression that will act 
>> on an input tiddler like "root/folder" and return all tiddlers of the form 
>> "root/folder/.*" (i.e. root/folder/subfolder1, root/folder/subfolder2 etc).
>>
>> I can't figure this one out, so any help would be amazing.
>>
>> *My specific use case if you're interested:*
>>
>> I have a directory structure representing in my wiki, which I currently 
>> display with the tree macro <https://tiddlywiki.com/#tree%20Macro>. I 
>> was trying to see if I could use Tidgraph 
>> <https://ihm4u.github.io/tw5plugs/> to display the directory structure, 
>> and I can see that I will need a filter that works as described above.
>>
>> Thanks in advance for your help.
>>
>

-- 
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/eca68eb7-3f2f-43a7-9ef8-fe1b37a186a6n%40googlegroups.com.

Reply via email to