diff options
Diffstat (limited to 'vendor/plugins/coderay-0.9.0/lib/coderay/encoders/span.rb')
-rw-r--r-- | vendor/plugins/coderay-0.9.0/lib/coderay/encoders/span.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/vendor/plugins/coderay-0.9.0/lib/coderay/encoders/span.rb b/vendor/plugins/coderay-0.9.0/lib/coderay/encoders/span.rb new file mode 100644 index 000000000..319f6fd09 --- /dev/null +++ b/vendor/plugins/coderay-0.9.0/lib/coderay/encoders/span.rb @@ -0,0 +1,19 @@ +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 |