joelpt / sublimetext-print-to-html

Sublime Text 2 plugin to print colorized files as HTML via your browser.
57 stars 11 forks source link

Sublime Text 3 support #10

Open toph-allen opened 11 years ago

toph-allen commented 11 years ago

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?

glukki commented 11 years ago

+1

alem0lars commented 11 years ago

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

In ST3 nothing works:

msheaver commented 10 years ago

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

MattHulse commented 10 years ago

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 commented 10 years ago

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

toph-allen commented 10 years ago

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

MattHulse commented 10 years ago

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

KyleKing commented 9 years ago

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

MattHulse commented 9 years ago

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.

ralyodio commented 6 years ago

how do i install this damn thing.