2007-08-16 00:20:18 +04:00
|
|
|
module CodeRay
|
|
|
|
module Encoders
|
|
|
|
|
|
|
|
load :html
|
|
|
|
|
|
|
|
class Page < HTML
|
|
|
|
|
|
|
|
FILE_EXTENSION = 'html'
|
|
|
|
|
|
|
|
register_for :page
|
|
|
|
|
2009-11-20 18:50:06 +03:00
|
|
|
DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge({
|
2007-08-16 00:20:18 +04:00
|
|
|
:css => :class,
|
|
|
|
:wrap => :page,
|
|
|
|
:line_numbers => :table
|
2009-11-20 18:50:06 +03:00
|
|
|
})
|
2007-08-16 00:20:18 +04:00
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|