Skip to content


Syntax Highlighting

I’m about to roll out some design changes which include a nifty “Syntax Highlighter”. Code examples will now be much nicer looking.

Posted in General.

4 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. gambit said

    how is the javascript for this issue you post “Code to disable backspace in browser (except proper use in forms)”

  2. I’m assuming you’re referring to one of my posts in this forum:
    http://www.webmasterworld.com/forum91/4699.htm

    But I’m not sure exactly what you’re asking. That thread is 2 years old, and I’d probably do things differently today than I would have then. For example, I’d probably use the Yahoo UI Library (http://developer.yahoo.com/yui) for the Event handling and DOM manipulation. Also, I might look into attaching only a single event handler to the body element instead of attaching to each individual elements (since events bubble up the DOM tree).

  3. Nikola said

    Fantastic! I didn’t realize you were the author of the syntax highlighter I use and love. Your blog is turning out to be a really great find.

  4. Let me clarify that I am not the author of that syntax highlighter, just someone who found it very helpful. :)

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.