# File lib/formatador.rb, line 82
  def parse(string)
    if STDOUT.tty?
      string.gsub(PARSE_REGEX) { "\e[#{STYLES[$1.to_sym]}m" }.gsub(INDENT_REGEX) { indentation }
    else
      string.gsub(PARSE_REGEX, '').gsub(INDENT_REGEX) { indentation }
    end
  end