[TxMt] Re: Generate new HTML doc from parsed PHP?

Rob McBroom textmate at skurfer.com
Fri Oct 24 13:08:43 UTC 2008


On 2008-Oct-23, at 4:34 PM, Michael Reiner wrote:

> Now I just need to figure out how to write a simle bundle to  
> automate the process a bit,
> i.e. create a bundle that will output the current file to an HTML  
> file with the same name and in the same directory.
> Any insight or resources that could point me in the right direction?


When you create a Command in the Bundle Editor, you will have the  
option of specifying "Replace Document" for the output. That seems to  
be what you want.

The command itself probably doesn't need any input. Just make it  
something like

    php "$TM_FILEPATH"

-- 
Rob McBroom
<http://www.skurfer.com/>

Because it screws up the order in which people normally read text.

Original message:

> Why is it bad to top-post your reply?






More information about the textmate mailing list