sublimetext-print-to-html icon indicating copy to clipboard operation
sublimetext-print-to-html copied to clipboard

Sublime Text 3 support

Open toph-allen opened this issue 11 years ago • 10 comments

Any plans to support ST3 in the near future? I'm not familiar with the API changes; how much work would that take above converting to Python 3?

toph-allen avatar Apr 03 '13 16:04 toph-allen

+1

glukki avatar Apr 25 '13 14:04 glukki

:+1: :+1: :+1:

In ST3 nothing works:

  • Print as HTML... is grayed out
  • Keybinding alt+shift+p doesn't work
  • ctrl+p print doesn't work.

alem0lars avatar Jul 28 '13 11:07 alem0lars

I agree, it does not work for me in ST3; I get the same results. Are there any plans to port this to ST3?

msheaver avatar Oct 10 '13 21:10 msheaver

I would like to help get this working in ST3. Do you know what the roadblocks are? Seems like Pygments has Python 3 support.

MattHulse avatar Oct 25 '13 17:10 MattHulse

While it's not official, I got Print To HTML working in ST3 for my own use. My fork is https://github.com/MattHulse/sublimetext-print-to-html

Mostly the work involved running 2to3 on the pygments and PrintToHTML.py code. In addition I had to add a file to the repo so a working directory was still extracted instead of just a zipped package file when using package manager. I also had to modify the load path and the loading of resources in the working directory due to changes in ST3.

It's working well for me. YMMV

MattHulse avatar Oct 28 '13 17:10 MattHulse

It's working for me too. Thanks for putting the time in to get it running!

toph-allen avatar Oct 28 '13 19:10 toph-allen

Updated my fork to fix 'print to new buffer' command and bug that occurred on xfce desktop.

MattHulse avatar Nov 06 '13 16:11 MattHulse

@MattHulse, I looked for your fork, but I couldn't find it via package control. Is it only available through manual install?

KyleKing avatar Jun 21 '15 22:06 KyleKing

Yeah, it would have only been available via manual install. However, I'm not sure it would even work after this long. I haven't used it for at least a year.

MattHulse avatar Jun 23 '15 00:06 MattHulse

how do i install this damn thing.

ralyodio avatar Jun 13 '18 04:06 ralyodio