Great plugin, thanks to both of you !
Please put it on Package Control, IMHO your concept to generate HTML is way better than using Pygments module (no offense to other plugin author which is good too).
And this is your first issue (facelessuser: the issues management is not enabled in your github repository):
On Windows when opening in the browser, the page is opened 2 times.
It is caused by the desktop module that return None as status:
def open(url, desktop=None, wait=0, status=False):
...
elif desktop_in_use == "Windows":
# NOTE: This returns None in current implementations.
return os.startfile(url)
BTW, what’s the problem with webbrowser.open() that you have to use desktop module ?