> The above example will work. But may be your real CSS wont. If you'd
provide a link to a short testcase (real CSS) it would help.
Yeah, I probably made some mistake. I tested it once more and it
worked.
>> /*{{myClass{*/
>> [CSS]
>> /*}}}*/
>I wouldn't do this. The first */ will be rendered.
True. Moreover, all the /**/ before and after CSS are shown. The CSS
is rendered correctly, but myClass is not applied. Anyway, one of the
biggest reasons to use CSS was to skip scrolling which is on the
bottom of the CSS, but cutting it into parts solves this. Editing
<pre> isn't good since it is widely used apart the CSS.
Basing on this, one more important question, though: are there any
mechanisms of making hypretext-based CSS, like, say, CSS based on
tags? It would be beatiful a solution - to represent all the [[food
recipes]] tiddler with some style customized namely for tiddlers with
such tag, wouldn't it? Or
pre "in StyleSheets" { background-color: white; }
...
>If you do something like this
>/*{{{*/
>.button { display: block;}
>/*}}}*/
>some comment
>/*{{{*/
>.button { display: block;}
>/*}}}*/
>It will not work, because "some comment" is no comment!
Sure, but
/*{{{*/
.button { display: block;}
/*}}}*/
/***
some comment
***/
/*{{{*/
.button { display: block;}
/*}}}*/
works perfectly. Man, even the following works!! With some undesired
nonsense though, but some tweaking may help..
/*{{{*/
CSS1
/*}}}*/
/***
tw-comments!
<<slider chkSliderCSSSectionInStyleSheet [[StyleSheet##CSS-section]]
"second part" "">>
/%
!CSS-section
1
***/
/*{{{*/
.title { color: green;}
/*}}}*/
/***
2
/%%/
3
***/
An extra "/%" hides "%/" that's shown in the opened slider. As for
nonsence, the "1", "2", "3" make a bit more clear what's going on, but
I don't understand it fully.