Class: CodeRay::Encoders::Span

Inherits:
HTML show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/coderay-1.1.3/lib/coderay/encoders/span.rb

Overview

Wraps HTML output into a SPAN element, using inline styles by default.

See Encoders::HTML for available options.

Constant Summary collapse

FILE_EXTENSION =
'span.html'
DEFAULT_OPTIONS =
HTML::DEFAULT_OPTIONS.merge \
:css          => :style,
:wrap         => :span,
:line_numbers => false

Instance Attribute Summary

Attributes inherited from HTML

#css

Attributes inherited from Encoder

#options, #scanner

Attributes included from Plugin

#plugin_id

Method Summary

Methods inherited from HTML

#begin_group, #begin_line, #end_group, #end_line, #text_token

Methods inherited from Encoder

#<<, #begin_group, #begin_line, const_missing, #encode, #encode_tokens, #end_group, #end_line, #file_extension, file_extension, #initialize, #text_token, #token

Methods included from Plugin

#aliases, #plugin_host, #register_for, #title

Constructor Details

This class inherits a constructor from CodeRay::Encoders::Encoder