> Currently I have this working with the <pre> tags, so I don't think it is
any problem. Maybe Jeremy can confirm this.

The thing to remember about CSS generation is that the process is to wikify
the stylesheet tiddlers into a widget tree and then just extract the text
to use as the raw CSS. So, any HTML tags are ignored. This allows us to use
(eg) the reveal widget without the HTML elements that it generates
affecting the output.

Using the <pre> tags in a stylesheet is harmless; it just means that the
text will be displayed in a <pre> tag, and it doesn't affect the output.
Neither does it stop the content from being wikified.

Best wishes

Jeremy.




On Mon, Dec 15, 2014 at 3:13 PM, Tobias Beer <beertob...@gmail.com> wrote:
>
> Hi Ton,
>
>
>> Jeremy: No, you can't insert <pre> within the text of text/css tiddlers
>> because the text within the tiddler is not subject to wiki processing. But
>> the entire tiddler will be displayed in <pre> tags anyhow, because it's a
>> text tiddler.
>>
>
> Still not convinced. Of course, when you put your css inside a pre it will
> be rendered like so. But that's not an answer as to how this affects
> applying it as a valid stylesheet.
>
> What happens to those html elements in stylesheets? I can see how *<<macro
> foo>>* gets replaced before the styles are applied and then that's ok,
> but actual html markup within a <style>foo</style> block? That sounds just
> wrong. If *`css comments`* are allowed with backticks, then that would
> also require special handling by the core for stylesheet tiddlers...
> because you sure don't want backticks in your css declarations, when the
> actual commenting syntax is */* some comment in css */*.
>
> 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 tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to