[TxMt] Re: How to get HTML code of bundle TextMate -> Create HTML from Document

Rob McBroom mailinglist0 at skurfer.com
Wed Feb 23 18:08:32 UTC 2011


On Feb 23, 2011, at 11:46 AM, Brandon M Fryslie wrote:

> I want to get the results of the command TextMate -> "Create HTML From Document".  This command is located in the "TextMate" bundle.  This command takes the contents of the currently opened file and turns it into HTML, preserving the syntax highlighting by embedding CSS code into the document.  On e-TextEditor for Windows, for example, the same bundle generates a page of markup.  However on TextMate, it opens directly in a Web Preview window from which I am unable to extract the markup.

When I run that command, I get a new document with the HTML and CSS source. I haven’t changed anything from the defaults. Open the Bundle Editor, locate that command, and make sure the output is set to “Create New Document”. I suspect it got set to “Show as HTML” somehow.

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



More information about the textmate mailing list