Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Re: Display Source Code - Color Keywords

Reply
Thread Tools

Re: Display Source Code - Color Keywords

 
 
Jasper Bedaux
Guest
Posts: n/a
 
      06-23-2003
Alexander Mac <> wrote in message news:<Xns93A32AF8B7B5Ealexmacmailcom@194.177.210.2 10>...
> I want to present some source code (C++, Java etc) on my page, so I am
> using <pre><code></code></pre> tags. Is there any way to color the keywords
> all together? For example, make them appear blue (a CSS maybe?).


For C++ you can use http://www.bedaux.net/cpp2html/, it is a
JavaScript that will output syntax highlighted HTML from C++, can be
customized.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to display color in excel not able to display color in excel using xml sed_y XML 0 02-15-2012 09:46 PM
Changing font color from current font color to black color Kamaljeet Saini Ruby 0 02-13-2009 04:58 PM
WhenProblem calling perldb from a script, the current source line is not properly selected! (keywords: perl, xemacs, debug, gud, terminal, tty) tmstaedt Perl Misc 0 11-12-2007 12:32 PM
Re: Display Source Code - Color Keywords brucie HTML 1 06-23-2003 06:16 AM
Re: Display Source Code - Color Keywords Andrew H. Carter HTML 3 06-23-2003 04:50 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57