Merge pull request #880 from lucisferre/adds-cs-filetype-to-pygments-processing

Adds 'cs' filetype to pygments
This commit is contained in:
Brandon Mathis 2012-12-20 10:06:55 -08:00
commit fad262d3c1

View File

@ -35,6 +35,7 @@ module HighlightCode
lang = 'perl' if lang == 'pl'
lang = 'yaml' if lang == 'yml'
lang = 'coffeescript' if lang == 'coffee'
lang = 'csharp' if lang == 'cs'
lang = 'plain' if lang == '' or lang.nil? or !lang
caption = options[:caption] || nil