module CodeRay
def highlight_file filename, options = { :css => :class }, format = :div
in your output.
CSS styles use classes, so you have to include a stylesheet
Highlight a file into a HTML
.
def highlight_file filename, options = { :css => :class }, format = :div encode_file filename, format, options end