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.
Lovely! That was it! It works great now.
Brandon
On Wed, Feb 23, 2011 at 7:51 PM, textmate-request@lists.macromates.comwrote:
Send textmate mailing list submissions to textmate@lists.macromates.com
To subscribe or unsubscribe via the World Wide Web, visit http://lists.macromates.com/listinfo/textmate or, via email, send a message with subject or body 'help' to textmate-request@lists.macromates.com
You can reach the person managing the list at textmate-owner@lists.macromates.com
When replying, please edit your Subject line so it is more specific than "Re: Contents of textmate digest..."
Today's Topics:
- How to hide the scrollbar of textmate (Elvis Zhou)
- Re: How to get HTML code of bundle TextMate -> Create HTML from Document (Brandon M Fryslie)
- Re: How to get HTML code of bundle TextMate -> Create HTML from Document (Rob McBroom)
- Re: c++ library boost (Chris Patti)
- Command-Enter quit working (Pete Lasko)
- Re: Command-Enter quit working (Mark Jackson)
- Re: Command-Enter quit working (Pete Lasko)
- Re: Command-Enter quit working (Will)
- Re: Command-Enter quit working (Mark Jackson)
Message: 1 Date: Wed, 23 Feb 2011 21:44:04 +0800 From: Elvis Zhou cassyfar@gmail.com To: textmate@lists.macromates.com Subject: [TxMt] How to hide the scrollbar of textmate Message-ID: 30C9993F-4ADD-4DD3-9500-69AC2F48B95E@gmail.com Content-Type: text/plain; charset=us-ascii
How could I hide the vertical and horizontal scroll bars in textmate? And is there any possible way to let the scroll bar never shows up even though my codes are more than one page?
Tkanks in advence
Message: 2 Date: Wed, 23 Feb 2011 09:46:25 -0700 From: Brandon M Fryslie bmf@email.arizona.edu To: textmate@lists.macromates.com Subject: [TxMt] Re: How to get HTML code of bundle TextMate -> Create HTML from Document Message-ID: AANLkTink0TVuemCTVHZxBqmzcM04ytH2BBL-N9VXdPgK@mail.gmail.com Content-Type: text/plain; charset="iso-8859-1"
I usually go into the menu at the top; File / "New From Template", choose "HTML" scroll around some more, and choose from there.
CSS is began from the same menu; File / Plain Text, then at the bottom of the plain text doc one will see the words plain text and some little triangles for clicking on that reveal a menu to choose, CSS is in there.
So it seems a drill down procedure.The Preferences allow for doc of
choice
to appear at start up.
That is how to create a new HTML or CSS document.
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.
Is there a) some way to prevent it from opening in web preview? Or b) some way to directly get the contents as source of a web preview window?
Thanks Brandon