view .svn/pristine/a7/a7710803d5ef1ace984d544cc34e7fc655530e5c.svn-base @ 1492:54f320b40728 live

Merge
author Chris Cannam
date Mon, 17 Mar 2014 08:56:45 +0000
parents cbb26bc654de
children
line wrap: on
line source
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