Hi Joshua

I puzzled over this yesterday.  In the previous message, Jeremy said "Here,
> the list widget doesn't trigger block mode because there isn't a newline
> after the opening tag."
>
> As I interpret it, this means that in order for items in the list to be on
> separate lines,
>
> 1. there needs to be a *separate *closing tag (</$list>, as opposed to
> <$list filter="[tag[dimension]]" />)
>

I should add that a self-closing tag is still classed as an opening tag.
So, this will render in block mode because there is a newline straight
after the opening tag:

 <$list filter="[tag[dimension]]" />

>
> 2. AND that separate closing tag needs to be at the beginning of a new
> line.
>

No, the closing tag can be anywhere. This will still give you a block mode
list:

 <$list filter="[tag[dimension]]">
Some markup <$view field="title"></$list>

Is that correct?
>
> From my amateur perspective, the widgets are currently the toughest thing
> to figure out in TW5 when coming from classic TW.  (Though I admit that
> might be because in the documentation I didn't pay much attention to the
> "WikiText" tiddler, thinking rather too smugly that I already knew about
> all of that).
>

This block/inline stuff is an area where I'm not happy with the design of
TW5, and am looking to improve and simplify things.

Best wishes

Jeremy


> cmari
>


>
>
>
> On Wed, Aug 28, 2013 at 1:36 PM, Joshua <[email protected]>wrote:
>
>> If I somehow deleted my other message instead of sending it, thanks
>> Tobias. That did what I asked but changed the elements to block again when
>> I want inline. I did on the other hand find out that the following gives me
>> what I want. I have a feeling that it breaks some kind of coding rules
>> though. Obviously I'm grasping and using trial and error rather than
>> understanding what I am doing. :-)
>>
>> <$list filter="[tag[dimension]]">
>> <$view field="title"/> - <$view field="text"/>
>> </$list>
>>
>> Joshua
>>
>>
>> On Tuesday, August 27, 2013 6:20:45 PM UTC-5, Tobias Beer wrote:
>>>
>>> <$view field="text" format="wikified"/>
>>>
>>> Best wishes, Tobias.
>>>
>>  --
>> 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 post to this group, send email to [email protected].
>>
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> 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 post to this group, send email to [email protected].
>
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to