Re: Display Source Code - Color Keywords

Discussion in 'HTML' started by Jasper Bedaux, Jun 23, 2003.

  1. Alexander Mac <> wrote in message news:<Xns93A32AF8B7B5Ealexmacmailcom@194.177.210.210>...
    > 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.
    Jasper Bedaux, Jun 23, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. brucie
    Replies:
    1
    Views:
    1,426
    Jukka K. Korpela
    Jun 23, 2003
  2. Andrew H. Carter

    Re: Display Source Code - Color Keywords

    Andrew H. Carter, Jun 23, 2003, in forum: HTML
    Replies:
    3
    Views:
    1,783
    Andrew H. Carter
    Jun 23, 2003
  3. RoboHobby
    Replies:
    14
    Views:
    3,212
    John B. Matthews
    Dec 14, 2008
  4. Kamaljeet Saini
    Replies:
    0
    Views:
    377
    Kamaljeet Saini
    Feb 13, 2009
  5. sed_y
    Replies:
    0
    Views:
    997
    sed_y
    Feb 15, 2012
Loading...

Share This Page