diff options
author | murphy <murphy@rubychan.de> | 2008-09-16 22:07:44 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2008-09-16 22:07:44 +0000 |
commit | e46b6cbe74db250d743e7f194bfc7514529a82cc (patch) | |
tree | 851e2669d010cddffcad61189055282360cab2fc /lib/coderay/styles/cycnus.rb | |
parent | e7b3056418e54db4361b053a7af030d83e15acf8 (diff) | |
download | coderay-e46b6cbe74db250d743e7f194bfc7514529a82cc.tar.gz |
New: *JavaScript Scanner* (closes #23).
* It's quite good and fast, but still a beta.
* I included Prototype and script.aculo.us as example code for testing.
More changes:
* Added two new token classes, :keyword and :key, along with CSS styles.
** Actually, we should use :keyword for most scanners that now use :reserved.
* HTML Encoder: The CSS parser understands multiple selectors separated by commas.
Diffstat (limited to 'lib/coderay/styles/cycnus.rb')
-rw-r--r-- | lib/coderay/styles/cycnus.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/coderay/styles/cycnus.rb b/lib/coderay/styles/cycnus.rb index 7747c75..7b68a66 100644 --- a/lib/coderay/styles/cycnus.rb +++ b/lib/coderay/styles/cycnus.rb @@ -91,7 +91,9 @@ ol.CodeRay li { white-space: pre } .pd { color:#369; font-weight:bold } .pp { color:#579 } .pt { color:#339; font-weight:bold } -.r { color:#080; font-weight:bold } +.r, .kw { color:#080; font-weight:bold } + +.ke { color: #808; } .rx { background-color:#fff0ff } .rx .k { color:#808 } |