view .svn/pristine/70/70fcc81fd15a480f7d8ac6f47bf3e67d8c9739ca.svn-base @ 909:cbb26bc654de redmine-1.3

Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author Chris Cannam
date Fri, 24 Feb 2012 19:09:32 +0000
parents
children
line wrap: on
line source
module CodeRay
module Encoders
  
  load :html
  
  # Wraps the output into a HTML page, using CSS classes and
  # line numbers in the table format by default.
  # 
  # See Encoders::HTML for available options.
  class Page < HTML
    
    FILE_EXTENSION = 'html'
    
    register_for :page
    
    DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge \
      :css          => :class,
      :wrap         => :page,
      :line_numbers => :table
    
  end
  
end
end