Class: CodeRay::Encoders::HTML

Inherits:
Object
  • Object
show all
Defined in:
lib/coderay/encoders/html/css.rb,
lib/coderay/encoders/html/output.rb,
lib/coderay/encoders/html/classes.rb,
lib/coderay/encoders/html/numerization.rb

Direct Known Subclasses

Div, Span

Defined Under Namespace

Modules: Output Classes: CSS

Constant Summary collapse

ClassOfKind =
{
	:attribute_name => 'an',
	:attribute_name_fat => 'af',
	:attribute_value => 'av',
	:attribute_value_fat => 'aw',
	:bin => 'bi',
	:char => 'ch',
	:class => 'cl',
	:class_variable => 'cv',
	:color => 'cr',
	:comment => 'c',
	:constant => 'co',
	:content => 'k',
	:definition => 'df',
	:delimiter => 'dl',
	:directive => 'di',
	:doc => 'do',
	:doc_string => 'ds',
	:error => 'er',
	:escape => 'e',
	:exception => 'ex',
	:float => 'fl',
	:function => 'fu',
	:global_variable => 'gv',
	:hex => 'hx',
	:include => 'ic',
	:inline => 'il',
	:instance_variable => 'iv',
	:integer => 'i',
	:interpreted => 'in',
	:label => 'la',
	:local_variable => 'lv',
	:modifier => 'mod',
	:oct => 'oc',
	:operator_name => 'on',
	:pre_constant => 'pc',
	:pre_type => 'pt',
	:predefined => 'pd',
	:preprocessor => 'pp',
	:regexp => 'rx',
	:reserved => 'r',
	:shell => 'sh',
	:string => 's',
	:symbol => 'sy',
	:tag => 'ta',
	:tag_fat => 'tf',
	:tag_special => 'ts',
	:type => 'ty',
	:variable => 'v',
	:xml_text => 'xt',

	:ident => :NO_HIGHLIGHT, # 'id'
	#:operator => 'op',			
	:operator => :NO_HIGHLIGHT,  # 'op'
	:space => :NO_HIGHLIGHT,  # 'sp'
	:plain => :NO_HIGHLIGHT,
}