extensions/notebook-renderers/src/textHelper.ts/scrollableArrayOfString
function scrollableArrayOfString(id: string, buffer: string[], container: HTMLElement) {
	container.classList.add('scrollable');

	if (buffer.length > 5000) {
		container.appendChild(generateViewMoreElement(id, false));
	}
	const div = document.createElement('div');
	container.appendChild(div);
	div.appendChild(handleANSIOutput(buffer.slice(0, 5000).join('\n')));
}