Mercurial > hg > soundsoftware-site
comparison vendor/gems/coderay-1.0.0/lib/coderay/encoders/page.rb @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
908:c6c2cbd0afee | 909:cbb26bc654de |
---|---|
1 module CodeRay | |
2 module Encoders | |
3 | |
4 load :html | |
5 | |
6 # Wraps the output into a HTML page, using CSS classes and | |
7 # line numbers in the table format by default. | |
8 # | |
9 # See Encoders::HTML for available options. | |
10 class Page < HTML | |
11 | |
12 FILE_EXTENSION = 'html' | |
13 | |
14 register_for :page | |
15 | |
16 DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge \ | |
17 :css => :class, | |
18 :wrap => :page, | |
19 :line_numbers => :table | |
20 | |
21 end | |
22 | |
23 end | |
24 end |