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.
For example this is what I put in the terminal, and it outputs to html
kenny-scotts-computer:zmltest grosven$ zml dockey9.txt
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
<html language="ru" xml:lang="en"
title</title><link href="/img/favicon.ico" rel="icon"/
</head><body>Here goes the
Thanks, again, for sharing your brain.
On May 5, 5:13 am, Rob McBroom <mailingli...(a)skurfer.com> wrote:
On May 3, 2010, at 4:36 PM, Kenny Scott wrote:
I really love the functionality, with apple
command + R that allows me to run a Perl Script or Shell Script, or what have you, and
display the results in HTML. This would be really helpful, in place of being forced to run
each document in terminal to view the output. My command is simply "zml
myzmlfile.txt" and I want to leverage the bundle editor to get this going.
Create a command along these lines:
html_header "Some title for the window"
You'll probably want nothing for input and output. Be sure to set the scope selector
so it only applies to ZML.
Take a look at the "Preview" command in the Markdown bundle. That's a
fairly simple example of a command that uses the "web preview" window.
Because it screws up the order in which people normally read text.
Why is it bad to top-post your reply?
textmate mailing list