Hi. I want to use custom Rouge themes to highlight syntax with different languages.
Help please, how can i do like this ?
def syntax_hightlight(language)
if language =~ /ruby/
Rouge::Themes::ThankfulEyes.render(:scope => '.highlight')
else
Rouge::Themes::Github.render(:scope => '.highlight')
end