Hello everyone, My problem is related. I couldn't understand your instruction completely. Could you please elaborate more? I'll describe my problem in more details below. Any help would be appreciated.
I want to use a macro for all the tiddlers satisfying a certain filter esp. (demo/details/details-macro (https://kookma.github.io/TW-Shiraz/#Install) macro of Shiraz. I know that {{!!title}} or <$view field='title'/> prints the title of the tiddlers and I can use <$transclude mode="block"/> to transclude the content as well but, I couldn't transclude them inside the macro. I also tried a template unsuccessfully. <$list filter="[tag[my_tag]]"> <<details sum:"[[tiddler_variable_in_the_loop]]" src: "{{tiddler_variable_in_the_loop}}">> // desired output with visible link and hidden translusion <<details sum:"{{!!title}}" src:<$transclude mode="block"/> >> // displays the title of the tiddler without link; do not transclude. <<currentTiddler>>{{||$:/rkashyap/template/detail}} // similar to above <$transclude mode="block"/> // transludes the whole content without hiding it </$list> The code below achieves the task if the title of the tiddlers are not CamelCase in which case it opens the tiddler which I don't want. <$appear show= {{!!title}} > <$transclude mode="block"/> </$appear> Thanks, -Rahul On Thursday, May 21, 2020 at 10:26:34 AM UTC-4, Mark S. wrote: > > You might be able to do it with the wikify. This works with the "now" > macro: > > <$wikify text="""<<now "YYYY-0MM-0DD">>""" name="datetid"> > <$transclude tiddler=<<datetid>>/> > </$wikify> > > But since you've already made a JS macro, maybe you could just make a > version of it that returns the contents of the targeted tiddler. > > On Thursday, May 21, 2020 at 1:37:06 AM UTC-7, Tony K wrote: >> >> relevant portion of the code below >> >> >> \define dn-ts(timestamp) >> """<$macrocall $name="jstiddler" timestamp=$timestamp$ format="YYYY-0MM- >> 0DD" />""" >> \end >> >> >> <<dn-ts 20200521065246330>> >> >> >> this works and displays the time stamp is the required format i.e >> 2020-05-21 >> >> >> however what I need is to transclude the tiddler with title 2020-05-21 >> and that i can't achieve >> >> thank you >> > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7f57771a-da57-45ab-a50a-3f6f7215dd59%40googlegroups.com.