mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2025-01-14 07:08:01 -05:00
Merge pull request #880 from lucisferre/adds-cs-filetype-to-pygments-processing
Adds 'cs' filetype to pygments
This commit is contained in:
commit
fad262d3c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user