On May 6, 2010, at 4:37 AM, grosven wrote:
Rob! Thanks so much--this is way helpful, and much more elegant than my previous web preview solution :) I was specifically trying to figure out how I get the terminal-type output in the html window, like when I run my perl scripts.
I'm not completely clear on what your asking. The example you gave seems like the scenario that you asked about in the original post, which the command should handle.
The only thing I'm not sure about is you supplying DOCTYPE, etc. The `webpreview.sh` might already supply it's own "wrapper" HTML. If that's causing a problem for you, I think you could change the command to just run the `zml` part and set the output to "Show as HTML" in the command's drop-down.