Markdown code snippets returned as embedded GUI text instead of code

Hi, I am sorry if this error is already documented, this is the first bug report I am sending in this platform. The automatic search assistant of this community says it is the first report of this kind.

The markdown code snippet output returns the snippet embedded in the HTML user interface.

This adds a lot of friction when the user wants to convert any text format into a markdown one. Sending another prompt clearing that the user wants a snippet never works, which leads me to think that the bug is in the web app instead of the model itself.

The current turnaround is to call directly the OpenAI GPT API, since the output is the plain markdown code.

Thanks in advance.

The Copy event should copy all of the formatting as well, it’s up to the application accepting the text to deal with it, e.g. if you paste a chat response with markdown highlighting into Word, it will include all of the formatting from the page, where as if you post it to VSCode it will just be the plain text.

You could presumably make use of this fact in a Markdown viewer application.

But, yes, you are correct that the API and the Playground over on platform.openai.com gives the raw text with markdown.

I have proposed a numebr of times for a checkbox to enable/disable markdown. Might be worth experimenting with Canvas mode.