Hi Matthew,

As far as I understand, to have a custom stylesheet for whatever tiddlers 
you want, you just need to create a new tiddler with the title you want and 
tag it with the tag: $:/tags/stylesheet

Next, if you want a custom view template for screenplay tiddlers, then you 
have to create a new tiddler, tag it with the tag: $:/tags/ViewTemplate
and put inside something like that:
<$list filter="[is[current]!is[system]tag[playscript]]">
<div class="scrippet">

Put the contents you want here…

</div>
</$list>
where the first line (<$list filter=…>) says to apply the following only 
for tiddlers that are not system ones and that have the tag "playscript".

But remember that the "regular" view template, which is at 
$:/core/ui/ViewTemplate/body, will also apply for these tiddlers, so there 
can be "interferences" between the two view templates. Thus, if you want to 
remove the "regular" view template for them, you need to 
edit  $:/core/ui/ViewTemplate/body and put this (instead of its contents):
<div class="body">
<$list filter="[is[current]!tag[playscript]]">
<$transclude />
</$list>
</div>
where the second line says not to apply the following for those tiddlers 
tagged "playscript".

Concerning the CSS stuff and the plugin to implement Fountain Scrippets, I 
cannot help you, sorry!

Hope this is helpfull.

Alberto


Le mercredi 19 février 2014 23:58:29 UTC+1, Matthew Petty a écrit :
>
> Is it possible to have every tiddler tagged with a certain tag to be 
> assigned a custom CSS stylesheet?
>
> What I want to do is to be able to write play scripts or screenplays, 
> which would mean making it easy to make a paragraph a character name, 
> dialogue, actions or whatever. It seems like custom CSS would be the way to 
> go. Any ideas?
>

-- 
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/groups/opt_out.

Reply via email to