class Rouge::Formatters::Terminal256
def escape_sequence(token)
def escape_sequence(token) @escape_sequences ||= {} @escape_sequences[token.name] ||= begin esc = EscapeSequence.new(theme.get_style(token)) # don't highlight text backgrounds esc.style.delete(:bg) if token.name == 'Text' esc end end