diff options
author | murphy <murphy@rubychan.de> | 2009-04-20 21:19:41 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2009-04-20 21:19:41 +0000 |
commit | 32701fcf0c5f0e54d7172ceb86e44664aa4bae10 (patch) | |
tree | 5185f2c879f0478a89b2dcbc2a0a632ddaf838b9 /lib/coderay/scanners/_map.rb | |
parent | cf0b7a2a80808c06cb51ad2ee8971082d96cd41e (diff) | |
download | coderay-32701fcf0c5f0e54d7172ceb86e44664aa4bae10.tar.gz |
New: *PHP and SQL Scanners*
* Both not well tested yet, preview versions.
* Some example code for both languages.
* PHP scanner original by Stefan Walk.
* SQL scanner using code by Keith Pitt and Josh Goebel.
Diffstat (limited to 'lib/coderay/scanners/_map.rb')
-rw-r--r-- | lib/coderay/scanners/_map.rb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/coderay/scanners/_map.rb b/lib/coderay/scanners/_map.rb index c9ac75f..9f08d7d 100644 --- a/lib/coderay/scanners/_map.rb +++ b/lib/coderay/scanners/_map.rb @@ -1,14 +1,18 @@ module CodeRay module Scanners - map :cpp => :c, - :plain => :plaintext, - :pascal => :delphi, + map \ + :cpp => :c, + :ecma => :java_script, + :ecmascript => :java_script, + :ecma_script => :java_script, :irb => :ruby, - :xhtml => :nitro_xhtml, :javascript => :java_script, :js => :java_script, :nitro => :nitro_xhtml, + :pascal => :delphi, + :plain => :plaintext, + :xhtml => :html, :yml => :yaml default :plain |