diff options
author | murphy <murphy@rubychan.de> | 2005-10-01 02:14:46 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2005-10-01 02:14:46 +0000 |
commit | c194637b0d9af5ee756c5efa0942fe8cc09769e5 (patch) | |
tree | c9f6f310cacbf8b70b0bc45c2892a402529341db /demo/demo_css.rb | |
parent | 1712b65570da6495a87f267cb3f11ef05383cbe5 (diff) | |
download | coderay-c194637b0d9af5ee756c5efa0942fe8cc09769e5.tar.gz |
Some demos updated.
Massive changes for HTML output layout.
Diffstat (limited to 'demo/demo_css.rb')
-rw-r--r-- | demo/demo_css.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/demo/demo_css.rb b/demo/demo_css.rb index e4cd455..93a6ef0 100644 --- a/demo/demo_css.rb +++ b/demo/demo_css.rb @@ -1,6 +1,4 @@ require 'coderay'
-data = File.read $0
-page = CodeRay.scan(data, :ruby).optimize.html(:css => :style, :debug => $DEBUG).page
-
-puts page
+# print the default stylesheet for HTML codes
+puts CodeRay::Encoders[:html]::CSS::DEFAULT_STYLESHEET
|