Word wrapping with HTML, ANSI color code, indentation and paragraphing support