Hi Tobias

>
> So, it would be nice, if tw5 would by default render tiddlers
> *$:/tags/Stylesheet* in a monospaced block rather than wikify the
> contents... or if one could easily make it so without modifying the
> ViewTemplate.
>

I do agree that the current stylesheet rendering is unhelpful at the
moment. The same problem also occurs with HTML templates such as
"$:/core/templates/static.template.html".

There would be two parts to addressing it:

* Hide the body of tiddlers tagged "$:/tags/Stylesheet". This would need to
be done in "$:/core/ui/ViewTemplate/body"
* Add a new view template segment that selectively displays the parsed
tiddler content as plain text

The trouble is the first part: we're in danger of embedding a lot of logic
in that "$:/core/ui/ViewTemplate/body" template. I think we need a
mechanism for more flexibly configuring conditions under which the default
body rendering should be hidden.

Note that we could also flip this around, and instead add a new control
panel tab that lists the active stylesheets in a select box, and allows
them to be selected and viewed as a plain text block.

Best wishes

Jeremy


> 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 [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.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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