On a similar note, I would like to use the card macro with a list of tagged 
items.
e.g. <$list filter="[tag[mylist]sort[title]]">

This example does not work. Can you offer any help please.

<<card 
<$list filter="[tag[mylist]sort[title]]"

header:"Header"
title:<<title>>
subtitle:"subtitle"
text:"content"
footer:"footer"
width:"18rem"
class:"text-dark"

/>
>>

Scot

On Thursday, 4 June 2020 at 00:55:38 UTC+1 TW Tones wrote:

> Your Welcome.
>
> Tony
>
>
> On Thursday, June 4, 2020 at 3:53:02 AM UTC+10, passingby wrote:
>>
>> Hello Tony,
>>
>> Thank you for your solution. Really appreciate your effort. 
>>
>> -passingby
>>
>> On Wednesday, June 3, 2020 at 1:46:21 AM UTC-7, TonyM wrote:
>>>
>>> Passingby;
>>>
>>> This example works for this use case by splitting the input on new line.
>>>
>>> <$list filter="[<somelistmacro>splitregexp[\n]]" variable=item>
>>> <$macrocall $name="card" text=<<item>>/>
>>> </$list>
>>>
>>> However it seems a little odd that your list contains the * which is 
>>> usually reserved until displaying the list.
>>>
>>> If the list was tiddler titles you would possible use the enlist 
>>> operator.
>>>
>>> Regards
>>> Tony
>>>
>>>
>>>
>>> On Wednesday, June 3, 2020 at 5:07:35 PM UTC+10, passingby wrote:
>>>>
>>>> Hello all,
>>>>
>>>> I am trying out bootstrap cards of Shiraz plugin. I wanted a list to be 
>>>> passed as 'text' parameter so I thought I need to pass it via a macro call 
>>>> like this:
>>>>
>>>> \define somelistmacro()
>>>> * item 1
>>>> * item 2
>>>> * item 3
>>>> \end
>>>>
>>>> <$macrocall $name="card" text=<<somelistmacro>>/>
>>>>
>>>> But the wikitext list is not being rendered. What am I doing wrong?
>>>>
>>>

-- 
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/7ffc0eae-f396-4f58-adf4-7d7058c62fa8n%40googlegroups.com.

Reply via email to