NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item8077: SyntaxHighlightingPlugin uses IPC::Run, but could it use Foswiki::Sandbox?
Don't have the time to look at this now, but it looks like something that could be improved. Anyone else is free to pick this up if they have a need/interest.
--
AndrewJones - 17 Mar 2009
Maybe it can't, as the code block needs to be passed to enscript as STDIN, and I can't see a way to do this with Foswiki::Sandbox.
An alternative would be to save code to tmp file and pass that file to enscript.
We could also cache the output, so the code is only generated on save.
--
AndrewJones - 05 May 2011