473,409 Members | 1,954 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,409 software developers and data experts.

Mantain IDE colors and paste them in an HTML page

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
Oct 4 '05 #1
3 1316
billie wrote:
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.
Works OK for me. What exactly is it doing wrong on your side?
Does anyone got any suggestion?


I've used Webcpp before. http://webcpp.sourceforge.net/

....
jay

Oct 4 '05 #2
On Oct 04, billie wrote:
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.

--
Micah Elliott
<md*@micah.elliott.name>
Oct 4 '05 #3
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
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
Oct 5 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: beverly | last post by:
I have a .net application that works great in IE, however, in Netscape 7.1 the background colors are not comparable to IE. Has anybody else experienced this? If so, have you found a solution...
3
by: Marc | last post by:
Hi, maybe you guys know something I don't know... Is it possible (and how) to achieve the following: 1) A <BODY> with specific background-color, say blue. 2) A <DIV class='main'> (which...
0
by: Yarik | last post by:
Hello, When I open an HTML document by Internet Explorer 6 and then print the document on a color inkjet printer, some of the colors are rendered incorrectly (they appear much darker than they...
4
by: Franklin | last post by:
WITHOUT KNOWING ANYTHING ABOUT THE CURRENT COLORS, I want to swap the foreground/background colors of a link when someone hovers over it. Is this possible with HTML, CSS, DOM, & JavaScript? If...
1
by: deko | last post by:
Is there a way to export blocks of code from the Access VBA editor (or other IDEs for that matter) into HTML while preserving colors and formatting? The idea is to create an online code library...
0
by: Eric | last post by:
I have written a C# program that creates a new bitmap: Bitmap ChartBitmap = new Bitmap( 780, 360 ); then I create a button which copies that bitmap into the clipboard: ...
1
by: Jonathan | last post by:
Hello, I'm writed a WebCustomControl but I can't mantain the viewstate this is the code of my WebCustomContol: public class WebCustomControl1 : System.Web.UI.WebControls.WebControl,...
11
by: Paul Smith | last post by:
I have a button on my web page the backcolor of which I want to change: btnSample.backcolor = ???????? I want the color to be Gainsboro However I enter Gainsboro or color.Gainsboro I have...
4
by: Sam Carleton | last post by:
How do I change the CSS colors via JavaScript DOM? Let me explain... I am working on a Windows application (in C#) that displays some HTML. In one place the HTML is a status window. What happens...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.