> /%
> !Section
> Some text
> %/
> can be transcluded with <<tiddler "xx##Section">> and produces
>
> SomeText
> %/
>
> Which is wrong. Solving it, may be:
> /%
> !Section
> Some text
> /% %/
I use a different solution: place a 'dummy' section marker at the END
of the section, like this:
/%
!Section
Some text
!end
%/
Then, <<tiddler "xx##Section">> will extract the correct content
(i.e., "Some text") without the trailing "%/". Of course,
transcluding <<tiddler "xx##end">> will result in just "%/" being
displayed... but 'end' is dummy placeholder anyway, so there's *no*
reason to ever transclude it.
Note also, another way to hide sections, using a CSS wrapper:
{{hidden{
!Section
Some text /% that can include comments %/
!end
}}}
where 'hidden' is defined (in StyleSheet or a related tiddler) as:
.hidden { display:none; }
enjoy,
-e
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywikidev?hl=en.