As I am writing some technical notes about programming in tiddlywiki, it 
occured to me that it would be cool to have a tiddler with code (not 
necessarily a macro, just a bit of tw code and not javarscript (although 
perhaps also js)) and to use that tiddler to display raw code and to 
executee it.

Alas, the transclusion mechanism doesn't do for it. Perhaps it should be 
added as a parameter to the tiddler widget too.

What I'd like is to have:

<$transclude mode=raw tiddler=mycode/>

which would transclude mycode as if it was set to text instead of tw5 type.

complete use case below:

|code|results|h
|<$transclude mode=raw tiddler=mycode/>|<$transclude tiddler=mycode/>|
|<$transclude mode=raw tiddler=myothercode/>|<$transclude 
tiddler=myothercode/>|

What do you think about it?

Regards.

-- 
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/42f3d90c-127f-4116-830f-896c2401d44fn%40googlegroups.com.

Reply via email to