Feature request: continue with a button (for markdown output)

I have been pair-programming with ChatGPT and I love how it outputs code in Markdown boxes. However, on occasion, the output ends in the middle of a Markdown code box. When I type “continue”, it continues correctly but the formatting gets messed up because it thinks it is still continuing the code snippet inside of the Markdown code box.

A simple way to resolve this might be to put a “Continue” button in the UI if a heuristic thinks that it has more to say (an obvious heuristic might be that it began a Markdown code snippet but did not close it). That way, it could continue in the existing response without having a break in the middle.

That would make it much more convenient for longer code snippets.