Vin..

Just so you know it is convention to use lowercase for variable names, 
perhaps this is another case where ALL CAPS is like shouting. I suggest 
using it sparingly.
I tend to use variable names that obey the ruled for fieldnames see 
<https://tiddlywiki.com/#TiddlerFields> because then they are always 
interchangeable. You can store a variables value in a matching field, or 
set a variable to a fields value.

 The filter you use is realy only setting the current tiddler; so try this

<$tiddler tiddler=<<LIST-DESCRIPTION>> >
<$transclude/> <!-- defaults to current tiddler add mode=block if needed -->
</$tiddler>

or
<$transclude tiddler=<<LIST-DESCRIPTION>>/>

On Friday, 8 January 2021 at 08:51:22 UTC+11 [email protected] wrote:

> That's what I mean. :) 
> Thank you, it works fine..
>
> Op donderdag 7 januari 2021 om 19:28:43 UTC+1 schreef Soren Bjornstad:
>
>> I tried copying and pasting this, and it does not show the result in *plain 
>> text *(bold, for instance, displays fine). I think what you're observing 
>> is that the transclusion is displaying in *inline mode*, which means 
>> that things like section headers and paragraph breaks won't show up.
>>
>> To get it into *block mode* instead, put a blank line before and after 
>> {{!!text}}. Another option is to use the $transclude widget instead of 
>> {{!!text}}, which lets you explicitly specify whether you want it in block 
>> or inline mode:
>>
>> <$list filter=<<LIST-DESCRIPTION>>>
>>   <$transclude mode="block"/>
>> </$list>
>>
>> (See also https://tiddlywiki.com/#HTML%20in%20WikiText.)
>>
>> On Thursday, January 7, 2021 at 3:51:04 AM UTC-6 [email protected] 
>> wrote:
>>
>>> Hello,
>>>
>>> \define LIST-DESCRIPTION() [[$(currentTiddler)$-description]]
>>>
>>> <$list filter=<<LIST-DESCRIPTION>>>
>>> {{!!text}}
>>> </$list>
>>>
>>>
>>> The above code works fine but shows the result in plain text. How can I 
>>> prevent this?
>>>
>>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/96d5064a-f828-4c7b-baff-3bfb3fff69fen%40googlegroups.com.

Reply via email to