I wanted to be able to distinguish between included tiddlers and normal tiddlers in an ‘index’ wiki using includeWiki
option.
Here is what I came up with. It creates a css rule for each included tiddler. Every included tiddlers gets an orange outline. If a tiddler comes from the /equip/
wiki, then it gets a red outline.
This seems less than ideal especially if there hundreds or thousands of included tiddlers. Is there a better way?
<$list filter="[{$:/config/OriginalTiddlerPaths}jsonindexes[]]">
[data-tiddler-title="<<currentTiddler>>"] {
outline: 1px solid orange;
<$list filter="[{$:/config/OriginalTiddlerPaths}jsonget<currentTiddler>regexp[equip]]">outline: 1px solid red;</$list>
}
</$list>