Mantain IDE colors and paste them in an HTML page

B

billie

Hi all. I need to insert a Python source in an HTML page mantaining to
coloration gives by the IDE.
I tried the export function of scite but it does not generate a proper HTML
code that permit me to copy and paste it into another HTML page.
Does anyone got any suggestion?

Regards
 
M

Micah Elliott

I need to insert a Python source in an HTML page mantaining to
coloration gives by the IDE.

Do you care what IDE?
I tried the export function of scite but it does not generate a proper
HTML code that permit me to copy and paste it into another HTML page.
Does anyone got any suggestion?

If you're just trying to get copy/paste-able-from-browser html that has
pretty colors, you might start up vim and use the default colors. You
might have to say ":syntax enable". Then just type ":TOhtml" and you'll
have a colorized version of your "IDE" display.
 
S

Sybren Stuvel

Micah Elliott enlightened us with:
If you're just trying to get copy/paste-able-from-browser html that
has pretty colors, you might start up vim and use the default
colors. You might have to say ":syntax enable". Then just type
":TOhtml" and you'll have a colorized version of your "IDE" display.

Cool, I didn't know that option. Very nice! Thanks!

Sybren
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top