From 32701fcf0c5f0e54d7172ceb86e44664aa4bae10 Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 20 Apr 2009 21:19:41 +0000 Subject: 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. --- lib/coderay/scanners/_map.rb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'lib/coderay/scanners/_map.rb') 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 -- cgit v1.2.1