æ,

elegant explanation - as always.

thank you for this and your continued efforts.

Alex

On 9 February 2015 at 18:47, Astrid Elocson <[email protected]> wrote:

> > the strange thing is that the first one is rendered without the "/"
>
> There are three kinds of tag, for both HTML and widgets:
>
>    - opening *<tag>*
>    - closing *</tag>*
>    - self-closing *<tag/>*
>
> A self-closing tag is a shorthand for an opening tag followed by a closing
> tag with no intervening content, i.e.
>
> *<tag/>* is short for *<tag></tag>*
>
> If a closing tag is omitted, it will be supplied automatically at the end
> of the tiddler.
>
> So, in the example given,
>
> *|<$transclude tiddler="tiddlerA" mode="block">|<$transclude
> tiddler="tiddlerB" mode="block">|*
>
> the transclusion of B is *inside* the transclusion of A. And TiddlyWiki
> normally *ignores* any content that appears between *<$transclude>* and
> *</$transclude>*. (The exception is when the transclusion's source can't
> be found. Then, the content is used as placeholder text.)
>
> > maybe there could be an error message of macros?
>
> In this case, there is no error. The syntax is correct. It's entirely
> valid for the placeholder text of one transclusion to contain a further
> transclusion of its own.
>
> > I think this could be added to the documentation.
> > I don't know how to add or where it should go.
>
> I agree. The syntax for tags (which is shared by both HTML and widgets)
> deserves a tiddler of its own, and this information belongs there.
>
> At the moment, I'm working on the documentation for variables and macros,
> but once I've done those, I'll be turning my attention to the wonderful
> world of widgets.
>
> – æ
>
> --
> 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/d/optout.
>

-- 
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/d/optout.

Reply via email to