Thanks Mario!

Can we also apply CSS to a tiddler through viewtemplate?

For example I want to apply certain CSS (like red border, special fonts) 
for tiddlers tagged with myTag and* modified within last week*!

--Mohammad

On Monday, July 1, 2019 at 2:04:41 PM UTC+4:30, PMario wrote:
>
> uups I was wrong. It needs to be like this: 
>
>
>    - title: what you want
>    - tag: $:/tags/Stylesheet
>    - text:
>
> <$list filter="[tag[exmp64]]">
> <$transclude/>
> </$list>
>
>
> And the tiddler that contains the CSS code needs the pragma. ... Have a 
> look at the added "prettylink" rule
>
> \rules only filteredtranscludeinline transcludeinline macrodef 
> macrocallinline macrocallblock prettylink
>
> /*
> [[Link to the docs]]
> */
>
> .test-style { 
> color: red;
> }
>
> The above is valid CSS and the prettylink will be active. 
>
> -mario
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dc8c93e6-452e-4f1e-b994-82d2e4588e8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to