Soft wrapping latex code output

When I request ChatGPT to generate code in LaTeX, the output is typically presented as one continuous line, with line breaks only where a new line of text begins. While I understand this format is common in many IDEs, it makes reviewing the code before copying and pasting more challenging.

Would it be possible to implement a soft wrap feature for text output? This is a common option in IDEs and would significantly improve the ease of reviewing LaTeX code.

1 Like