Comparing tiddlers with their overridden shadows

I have discovered I am increasingly wanting to compare the tags / fields and text, on a tiddler with a shadow. Programmatically rather than manually through the preview or Import tools.

  • I know how to do this using the operators subtiddlerfields, shadowsource and plugintiddlers

However what I am looking for is an easy to use “Code Pattern” perhaps even a macro to simplify this. Ideally we would be able to set the currentTiddler to the tiddler OR the Shadow tiddler and be able to compare them, or use filters against the shadow version and not the tiddler etc…

So I am asking the community as a challenge or to expose previous activity.

  • It could help new users understand the differences between tiddler and shadows. It may make sense in the documentation if we can make it simple enough.

Any Ideas?

Thanks Mario. I will review your full post later but I am hoping to get a particular and optimal code pattern for a quick test.