Here's another issue I'm trying to tackle and hoping someone will share some insight:
I have several tiddlers of type "text/html" that contain XML files. I like having them render out in the ViewTemplate in an iframe. But occasionally I want to transclude them into another tiddler and have them show up as monospaced code, without being rendered.
I thought I could make a template tiddler and do something like this:
{{my XML tiddler||$:/xml-template}}
... but what should $:/xml-template look like?
Having it specify a different type ("text/plain") alone isn't enough to do the trick.
I've tried building a string from the content of [[my XML tiddler]] and wrapping it in <pre> and </pre> with no luck,
I'm pretty sure I'm stumbling all around an obvious solution and hoping someone else will see it clearly.