[quote=“juanfal”]Brad Choate – bradchoate.com/ did it for TextMate and I can assure you that it is really useful. You can publish your code as you see it in ST2 in any forum not just as mere plain text, but with its alignment and syntax coloring. The plugin for TextMate is doctohtml.rb and yes, it is written in the marvelous Ruby. The problem here is it depends on environment variables and some snippets written in the TextMate libs.
Is the code what I miss most in SublimeText2. Does anyone have done anything related to it?
Thanks
- Juan[/quote]
This will do what you want ; https://github.com/facelessuser/ExportHtml
You can get it from github or install with package control.
Thanks,
Bruce