I've spent about an hour trying to save myself a cumulative 22 seconds by writing an AppleScript that will export to html the markdown file currently in the front window, and then opens the newly-created html file in BBedit. For simplicity's sake, I'm exporting the markdown to a file named "convertedMarkdown.html"; exporting it to an html file that has the same name as the markdown file (but with the .html extension, of course) would be a nice refinement.
I've tried recording the actions, but the resulting AppleScript skips the "export to html" part, although it gets the "open the html file" part. Is this because "export to html" isn't in the BBedit dictionary? Is there a way around it? After all, reclaiming those cumulative 22 seconds over the course of my life is important! (Also, at this point I'm just curious.) Thanks for your help, and for a fantastic product. 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>
