diff options
| author | murphy <murphy@rubychan.de> | 2008-10-20 14:18:18 +0000 | 
|---|---|---|
| committer | murphy <murphy@rubychan.de> | 2008-10-20 14:18:18 +0000 | 
| commit | ceed015b2d5a237a6f3dfc0f2272f13c9f758771 (patch) | |
| tree | c52ff27205bbefaebf5e8f67960244cd921ece01 /lib/coderay/helpers | |
| parent | 23e5605488f613bd864671a322562ecfcb2d945d (diff) | |
| download | coderay-ceed015b2d5a237a6f3dfc0f2272f13c9f758771.tar.gz | |
New: *YAML* (#53). Preparing for version 0.8.1.
* Based on the YAML scanner from Jamis Buck's Syntax lib.
* Some YAML examples from Ruby gems.
* Doesn't handle string yet; alpha state.
More changes:
* coderay_suite: new parameter "fast" makes testing faster (for development).
* Changed the title of HTML page output (Page Encoder).
* FileType: Added new file types.
* cYcnus style: simplified some token group styles.
* Cleanup in CSS and HTML Scanners.
Diffstat (limited to 'lib/coderay/helpers')
| -rw-r--r-- | lib/coderay/helpers/file_type.rb | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/coderay/helpers/file_type.rb b/lib/coderay/helpers/file_type.rb index e955b9d..fbc95ec 100644 --- a/lib/coderay/helpers/file_type.rb +++ b/lib/coderay/helpers/file_type.rb @@ -88,7 +88,12 @@ module FileType      'cpp' => :c,      'c' => :c,      'h' => :c, +    'java' => :java,      'js' => :java_script, +    'json' => :json, +    'diff' => :diff, +    'patch' => :diff, +    'css' => :css,      'xml' => :xml,      'htm' => :html,      'html' => :html,  | 
