I think what you are missing is in reality transclude is really only the 
text field not any other properties of the tiddler.

You could emulate this by making it the current tiddler and using that to 
display content.

Regards
Tony

On Wednesday, 9 September 2020 at 20:31:51 UTC+10 [email protected] wrote:

> Hello. 
>
> I want to use dynamic css (as described here: 
> https://tiddlywiki.com/static/Q%253A%2520How%2520can%2520I%2520use%2520a%2520custom%2520field%2520to%2520style%2520a%2520tiddler%253F.html)
>  
> to style a tiddler that is transcluded by another tiddler. Unfortunately 
> the transcluded tiddler does not show the style. The same happens if I use 
> data-tags. A minimal example is:
>
> Css
> [data-tags*="colorblue"] .tc-tiddler-body  {color:blue;font-style: italic;}
>
> Tiddler A 
> {{Tiddler B}}
>
> Tiddler B (tagged colorblue)
> This should be blue
>
> Tiddler B shows italic blue text as expected. I would expect Tiddler A to 
> show the same (italic blue), but it does not. What am I missing?
>
> Thanks for any help!
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a6163b5d-9f72-4e6e-95d6-f52cac32799en%40googlegroups.com.

Reply via email to