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.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9a0e58f3-9e84-4e63-8192-a42ffc1a2eee%40googlegroups.com.

Reply via email to