Re: better syntax highlighting for Clojure

2009-02-23 Thread Stuart Halloway
Laurent, I originally grabbed the js and css from the Google groups files. I haven't changed the colors--I merely adapted the js to do a better job of identifying clojure names. The js and css should work on any website, which is why I thought this might be of general interest. Stuart > H

Re: better syntax highlighting for Clojure

2009-02-23 Thread Laurent PETIT
Hello Stuart, Can you explain what this is ? Is it just something related to your book, or something that also colors syntax on websites (maybe the clojure website, or github ..) ? Indeed, if these are the "commonly accepted" colors for clojure code, I'll consider adapt clojure-dev to stick with

better syntax highlighting for Clojure

2009-02-23 Thread Stuart Halloway
I have improved the clojure.js bits [1]. Various small changes, but the big issue was to discontinue using \b for end of word, which does not work well with names-like-this. Feedback or additional improvements welcome. Stuart [1] http://github.com/stuarthalloway/programming-clojure/blob/95