A formatter for 256-color terminals
private
# File lib/rouge/formatters/terminal256.rb, line 151 def escape_sequence(token) @escape_sequences ||= {} @escape_sequences[token.name] ||= EscapeSequence.new(get_style(token)) end
# File lib/rouge/formatters/terminal256.rb, line 157 def get_style(token) return text_style if token.ancestors.include? Token::Tokens::Text theme.get_own_style(token) || text_style end
Generated with the Darkfish Rdoc Generator 2.