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 blueTiddler 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!
Mario. This is the greatest example, thanks.
In short this is customizing the view of a tiddler's fields via a template, and applying a style based on the tiddler's tags. Elegant and powerful