Sha256: f89f925481666652f05c032e37594a2d518855df37e5266c44e49de35b90c425

Contents?: true

Size: 431 Bytes

Versions: 6946

Compression:

Stored size: 431 Bytes

Contents

module CodeRay
module Encoders
  
  load :html
  
  # Wraps HTML output into a SPAN element, using inline styles by default.
  # 
  # See Encoders::HTML for available options.
  class Span < HTML
    
    FILE_EXTENSION = 'span.html'
    
    register_for :span
    
    DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge \
      :css          => :style,
      :wrap         => :span,
      :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/span.rb
coderay-1.0.0.835rc1 lib/coderay/encoders/span.rb
coderay-1.0.0.831pre lib/coderay/encoders/span.rb
coderay-1.0.0.815pre lib/coderay/encoders/span.rb
coderay-1.0.0.800pre lib/coderay/encoders/span.rb
coderay-1.0.0.798.pre lib/coderay/encoders/span.rb