10.5: View syntax-highlighted source code in Quick Look

Dec 11, '07 07:30:06AM

Contributed by: Anonymous

There's a new free Quick Look plug-in (Plug-in [338KB] | Source [469KB]) which allows one to display source code with color syntax highlighting. It uses the Highlight package, which means it supports a ton of languages.

This page will help you add more supported file types to the plug-in.

[robg adds: Given how new Quick Look is, and how very useful it is, I've chosen to run hints on various plug-ins that add functionality to Quick Look. My requirements for a plug-in to be "hintable" are that they must be free, and ideally (as with this one) also open source. I don't anticipate we'll have a ton of such hints; there are only so many file types to be Quick Looked, after all.]

Comments (13)


Mac OS X Hints
http://hints.macworld.com/article.php?story=2007112814252213