sudo gem install syntaxAnd easy to use:
require 'rubygems'By default it supports Ruby, XML and YAML, and there might be a bunch of other ones out there on the Internet somewhere.
convertor = Syntax::Convertors::HTML.for_syntax "ruby"
html = convertor.convert(File.read(ARGV))
Speaking of syntax, I'm wondering if anybody knows of a good colour scheme for Gvim. I've been using one called pablo that comes with it for a while since it is pretty much the only dark theme that they have that doesn't make my eyes bleed, but it still isn't amazing. Does anybody know of one that looks really good that they are willing to share?