> The code examples are complex enough to warrant {{{ }}} in
> order to present well.
You can't create a PRE/CODE block using the TW {{{...}}} syntax AND
also have the content within that block wikified.
However, you CAN wrap wikified content within a custom CSS wrapper,
{{classname{...}}} and then define that classname in [[StyleSheet]] to
provide the desired formatting, making sure to include "white-
space:pre;" as one of the CSS attributes, like this:
.codeExample {
white-space:pre;
border:1px solid [[ColorPalette::SecondaryLight]];
background:[[ColorPalette::SecondaryPale]];
}
Then, use it in with your content, like this:
{{codeExample{
print <<tiddler "Tiddler1::testvar">> * <<tiddler
"Tiddler1::testvar2">>
}}}
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" 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/tiddlywiki?hl=en.