summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/span.rb
blob: e892cb27d2a233a750ad41db1d74b567dfaf0c44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module CodeRay
module Encoders

  load :html

  class Span < HTML

    FILE_EXTENSION = 'span.html'

    register_for :span

    DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge({
      :css => :style,
      :wrap => :span,
    })

  end

end
end