mbostock/bl.ocks.org — pull request #32 by dribnet (2012-12-30 00:42:39+00:00)
Title: hightlight.js (+style.css) update to add clojurescript hightlighting

I've been having fun making d3 clojurescript blocks, but the syntax hightlightling is currently all wonky:

http://bl.ocks.org/4409139#quadtree.cljs

So I downloaded a fresh copy of highlight.js 7.3 with clojurescript (and coffeescript) support, and used this to replace the existing hightlight.min.js. I then in a separate commit added a few lines in style.css to have clojurescript hightlight analogously to the existing javascript styles. The overall result can be currently be seen here:

http://cryptic-wildwood-1262.herokuapp.com/4409139#quadtree.cljs

(one other change I slipped in was to color javascript literals [true/false] with the same styles as numbers. That's also in its own commit af502fbd8df1d480ed8270cc97209861db56b211 and can be reverted if not wanted)

Mike - you're call if you want to support blocks in other languages, but I'm hoping so! :bowtie: