how to display highlighted code on a webpage ?

Discussion in 'HTML & Website Design' started by pradeep.balua, Oct 22, 2008.

  1. #1
    Hi guys I was wondering how to display highlighted code on a webpage ? I tried to google it but couldn't come up with some satisfying results ? so do you know any jquery plugins which can do the job ?
     
    pradeep.balua, Oct 22, 2008 IP
  2. MikeHayes

    MikeHayes Peon

    Messages:
    95
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi,

    I'm not sure what you mean. Have a look at this code and see if it's what you need. Let me know.


    They do not give you what <i><b>The HTML Book</b></i> gives you a <br />
    <span style="background-color: rgb(240, 240, 51);">
    <b>full color</b>
    </span> book.


    Good luck.

    Regards

    Mike
     
    MikeHayes, Oct 22, 2008 IP
  3. xlcho

    xlcho Guest

    Messages:
    532
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I know there are lots of syntax highlight modules for forum/blog templates, but those are server-side. I'd be interested to know if someone wrote such in JS too :)
     
    xlcho, Oct 22, 2008 IP