I want to make all transclusions appear with border (and/or specific background colour) so that it can be seen that they are a transclusion and not part of the tiddler’s own text.
Can anyone suggest some CSS or plugin that does this? I would accept a plugin that accomplished this, among other features.
I know some CSS but I could use some help knowing what class to apply it to.
Keep in mind the idea of having a box style apply to all transclusions, may seem tempting on the surface, but in fact transclusions are used all over the place for many different reasons, and if you could do so it may be a mess.
It is thus perhaps useful to use a template as @pmario suggested and use it to rule in the circumstances where it applies. Additional solutions could be found if;
You wanted this to extend into nested transclusions
CSS selectors may be set to inherit the box
If you want to do this a lot with the say the editor excise button, or applying boxes in content etc… we can create new editor toolbar buttons to make this easy, or run your transclusions through a macro.