view vendor/gems/coderay-1.0.0/lib/coderay/scanners/_map.rb @ 915:2a68662d5adf cannam_integration

*needs further testing* Moved several files' extension to ".erb"; modified two files because they were calling partials/templates with rhtml extensions; renamed email templates sent when a user is added to a publication.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 02 Mar 2012 12:37:17 +0000
parents cbb26bc654de
children
line wrap: on
line source
module CodeRay
module Scanners
  
  map \
    :'c++'       => :cpp,
    :cplusplus   => :cpp,
    :ecmascript  => :java_script,
    :ecma_script => :java_script,
    :rhtml       => :erb,
    :eruby       => :erb,
    :irb         => :ruby,
    :javascript  => :java_script,
    :js          => :java_script,
    :pascal      => :delphi,
    :patch       => :diff,
    :plain       => :text,
    :plaintext   => :text,
    :xhtml       => :html,
    :yml         => :yaml
  
  default :text
  
end
end