I use SublimeText every single day and sometimes I need to print things and I hate to open another program to do that.
Print Support is needed.
Thank you for make this awesome program!
I use SublimeText every single day and sometimes I need to print things and I hate to open another program to do that.
Print Support is needed.
Thank you for make this awesome program!
ExportHTML available via Package Control will enable you to print (almost…) by right-clicking. It can send your code, or a selection thereof, to your browser, or directly to print-preview within the browser. It can keep your scheme colours or you can specify an alternative, printer-friendly, scheme.
Having problems with Export Html. I can’t use it well. It doesn’t take into account the theme I am using… I have had to comment lines in the code
Traceback (most recent call last):
File "./sublime_plugin.py", line 337, in run_
File "./ExportHtml.py", line 454, in run
ExportHtml(view).run(**kwargs)
File "./ExportHtml.py", line 899, in run
self.write_body(the_html)
File "./ExportHtml.py", line 815, in write_body
date_time = datetime.datetime.now().strftime("%m/%d/%y %I:%M:%S")
AttributeError: 'module' object has no attribute 'now'
Has any of you had this problems?
Tx
JF
[quote=“juanfal”]Having problems with Export Html. I can’t use it well. It doesn’t take into account the theme I am using… I have had to comment lines in the code
Traceback (most recent call last):
File "./sublime_plugin.py", line 337, in run_
File "./ExportHtml.py", line 454, in run
ExportHtml(view).run(**kwargs)
File "./ExportHtml.py", line 899, in run
self.write_body(the_html)
File "./ExportHtml.py", line 815, in write_body
date_time = datetime.datetime.now().strftime("%m/%d/%y %I:%M:%S")
AttributeError: 'module' object has no attribute 'now'
Has any of you had this problems?
Tx
JF[/quote]
Sometimes issues are platform dependent. ARe you on Linux or something? When reporting issues, the more info you can give helps. I do not see this issue on Windows or OSX. Any additional info you can give can help me narrow down the issue.