code: function sanitizeLines(frame) {
  	// Sanitize newlines & replace tabs.
  	lines = stripAnsi(frame)
  		.replace(/\r/g, '')
  		.split('\n')
  		.map(l => l.replace(/\t/g, '  '))
  	// Remove left caret.
  	var leftCaretLine = lines.find(l => l.startsWith('>'))
  	if (leftCaretLine) {
  		lines[lines.indexOf(leftCaretLine)] = leftCaretLine.replace('>', ' ')
  	}
  	// Remove left padding.
  	// Loop while all lines start with space and strip the space from all lines.
  	while (lines.find(l => !l.startsWith(' ')) == undefined) {
  		lines = lines.map(l => l.slice(1))
  	}
  	return lines
  }
docs: Babel is the worst offender.