microsoft / vscode-copilot-release

Feedback on GitHub Copilot Chat UX in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat
Creative Commons Attribution 4.0 International
308 stars 28 forks source link

Model produces codeblocks inside codeblocks #470

Open gaidap opened 10 months ago

gaidap commented 10 months ago

Steps to Reproduce:

  1. Prompt the chat with Write me an example Readme in markdown
  2. The generated Markdown breaks the output at some time

After that, it's not possible to simply copy and paste the output in a Readme.md for example. Also, it's not possible to save the output to a new file, see example output in attached file.

Logs 20231010T210710.zip

Broken Output File # Project Name.md

Screenshots image image

gaidap commented 10 months ago

I had also issues with generated html code.

roblourens commented 10 months ago

The problem is that it tried to write a codeblock inside a codeblock, so some is in a codeblock and some is just rendered markdown.

We can maybe give it an example of what to do instead