summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/span.rb
blob: a7715f48158b6a97ab308e83b4456b9638a8e172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module CodeRay module Encoders
	
	require 'coderay/encoders/html'
	class Span < HTML

		FILE_EXTENSION = 'span.html'

		register_for :span

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

end end