David, Yet another method of creating a new document with a particular markup/language in place is to create simple templates.
As little as a line of text suggesting what it is to be used for will work. The template should be "language selected" with the drop-down in the lower left of the editing window as noted by Mr. Woolsey and Ms. Mains. Save each language template you want to use in the ~/Application Support/BBEdit/Stationery folder. Remember to check the "Save as Stationery" box in the Save dialog. When you want to start a fresh HTML document, just select File->New with Stationery...select your html template and off you go. You will have a new file, unnamed, with your selected markup/language, and as little or as much template as you like. That works for me for several languages though for some reason, an .sql and a .mysql file didn't show up as stationery, but I could easily open up the folder from the File->New with Stationery menu. Hope this helps with your work flow. It is one method that helps mine. Bucky On Jul 16, 2012, at 3:43 PM, dweinberger wrote: > I am quite certain I am going to be d'oh-slapping myself very soon, but is > there a way to tell BBEdit that a new document is using a particular markup > (e.g., markdown, js) without saving it with the appropriate extension? I > thought stationery might do that, but it doesn't. > > No, doing a Save as a first action is not a big deal. I'm mainly curious > about whether I'm doing something wrong. Or not optimally right. > > - David W. > > -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> 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>
