distraction in action
One of the features I’ve really liked in Leopard has been Quick Look. It’s a really nice way to browse files quickly, without opening up a bunch of random apps. However, the QL plugin that Apple provides for reading source code is, well, just plain boring. You just get the text, in black & white. We all know how nice syntax highlighting is, so why didn’t they give us some of that?
Well, it turns out to be trivially easy to do a QL plugin that renders HTML. Mix in Pygments, the very capable syntax highlighting engine that can output HTML, and you’ve got a syntax highlighting QL plugin in under 100 lines of code!
Rather than host this project myself I’ve decided to try making a Google Code project. You can find it here: