Item8077: SyntaxHighlightingPlugin uses IPC::Run, but could it use Foswiki::Sandbox?
Current State: Closed
Released In: n/a
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.
- 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.
- 05 May 2011
Done as per Item15082
- 26 Apr 2022