<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<meta charset="utf-8"><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">I usually go into the menu at the top; File / "New From Template", choose<br>
"HTML" scroll around some more, and choose from there.<br><br>CSS is began from the same menu; File / Plain Text, then at the bottom of<br>the plain text doc one will see the words plain text and some little<br>
triangles for clicking on that reveal a menu to choose, CSS is in there.<br><br>So it seems a drill down procedure.</span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">The Preferences allow for doc of choice to appear at start up.</span></blockquote>
<div><br></div><div>That is how to create a new HTML or CSS document. </div><div><br></div><div>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.</div>
<br><div>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? </div><div><br></div><div>Thanks</div><div>Brandon</div>