On Jan 2, 2014, at 11:51 AM, bfu <[email protected]> wrote:

> I make regular use of the ability to run scripts (of all kinds) from within 
> BBEdit making sure the shebang line is properly set.  I’d like to take it a 
> step further and pass the contents of the current document to something else, 
> for example, graphviz.

Here’s an example of taking the current selection (or document) converting it 
to an html file using pandoc, then opening that file in Safari…

#!/bin/bash
/usr/local/bin/pandoc -t HTML -o ~/Desktop/test.html && open -a Safari 
~/Desktop/test.html

Is that the kind of thing you’re after?

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to