Revision of Twine: <<display>> fixed to allow code parameters from Tue, 02/19/2013 - 23:29

The following code, when placed in a script passage, changes <> so that you can use variables and operators in it, such as <>.

version.extensions.displayMacro={major:2,minor:1,revision:0};macros.display={handler:function(place,macroName,params,parser){try{var output=eval(parser.fullArgs());
if(output){new Wikifier(place,tale.get(output.toString()).text);}}catch(e){throwError(place,"bad expression: "+e.message);
}}};

A quick and untidy alternative to using this code is to just use <> in place of <>