I'm looking for a plugin that will display me the text of HTML files in QuickLook rather than a preview of the rendered HTML.
Does anyone know of such a plugin?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
You are looking for qlcolorcode. qlcolorcode allows you to have syntax highlighting in your quicklook preview:
qlcolorcode didn't display HTML files by default on my installation of 10.8. I could get it to display them by adding
~/Library/QuickLook/QLColorCode.qlgenerator/Contents/Info.plist and logging out and back in.
You could also remove
/System/Library/QuickLook/Web.qlgenerator/, but it also handles
svg files. Removing the entries for
public.xhtml from the
Info.plist didn't seem to work.