diff options
author | murphy <murphy@rubychan.de> | 2006-03-15 23:24:37 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2006-03-15 23:24:37 +0000 |
commit | 052466e27f9d42c051e49177d5f132d16dde69eb (patch) | |
tree | 7c8ffc0eb8334e7949a4a0fc1881b768b62cc7f5 /demo | |
parent | d14d8a5d2af28f2cf4c8d996478c27489d09e96f (diff) | |
download | coderay-052466e27f9d42c051e49177d5f132d16dde69eb.tar.gz |
HTML encoder improved (hint handling, :info_long)
Ignore latex encoder until it's finished.
Diffstat (limited to 'demo')
-rw-r--r-- | demo/demo_server.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/demo_server.rb b/demo/demo_server.rb index 0972de9..fc44818 100644 --- a/demo/demo_server.rb +++ b/demo/demo_server.rb @@ -77,7 +77,7 @@ class CodeRayServlet < WEBrick::HTTPServlet::AbstractServlet $".delete_if { |f| f =~ /coderay/ }
require 'coderay'
end
- div = CodeRay.scan_file(path).html :tab_width => 8, :wrap => :div
+ div = CodeRay.scan_file(path).html :tab_width => 8, :wrap => :div, :hint => :info
div.replace <<-DIV
<div #{STYLE}>
#{backlinks}
|