Sha256: 58b8c214aa818255b7970c1a20cc973fe9eb2c665e4b7a2d5f9ce6fd9cd0dff9

Contents?: true

Size: 426 Bytes

Versions: 6946

Compression:

Stored size: 426 Bytes

Contents

module CodeRay
module Encoders
  
  load :html
  
  # Wraps HTML output into a DIV element, using inline styles by default.
  # 
  # See Encoders::HTML for available options.
  class Div < HTML
    
    FILE_EXTENSION = 'div.html'
    
    register_for :div
    
    DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge \
      :css          => :style,
      :wrap         => :div,
      :line_numbers => false
    
  end
  
end
end

Version data entries

6,946 entries across 6,934 versions & 73 rubygems

Version Path
coderay-1.0.0.846rc2 lib/coderay/encoders/div.rb
coderay-1.0.0.835rc1 lib/coderay/encoders/div.rb
coderay-1.0.0.831pre lib/coderay/encoders/div.rb
coderay-1.0.0.815pre lib/coderay/encoders/div.rb
coderay-1.0.0.800pre lib/coderay/encoders/div.rb
coderay-1.0.0.798.pre lib/coderay/encoders/div.rb