Format when copying artifacts

Hi,

Hi,

When users get artifacts pop up in the side menu, like long text documents, they can copy paste them. When they do this, they lose the formatting when they paste (eg bold turns into asterisks). This didn’t happen before the move to the new dashboard. Now, I have to download files instead of copy pasting to get easily readable text. My chatbots produce files regularly and this complicates things for users. Is there a way to get it back to how it used to be?

Hi @ravit ,

Thank you for reaching out!

What you are seeing with bold text turning into asterisks is markdown formatting. If the agent response was generated using markdown, copying that response will also copy the markdown itself. When that content is pasted into a place that supports markdown, the formatting should appear the same as it did in the agent response.

It may be that the place where you are pasting does not support markdown formatting, or that the content is being pasted without formatting, which would make elements like bold show up as asterisks instead.

If you can share where you are pasting the copied content, I can take a closer look and better understand whether this is expected behavior in that destination or if something has changed.

Hi Danny,

The place I am copying into is a Google doc, which the same as I did in past. This is why I was surprised.

Hi @ravit,

Thank you for clarifying that you were trying to paste into Google Docs.

I tested this more on my side, and I think this was likely due to your Google Docs Markdown support being turned off. You can turn it back on by going to Tools, then Preferences, and checking the box next to “Enable Markdown.”

Google also has a help page with more details on how Markdown works in Docs.

In general, if you paste into a destination that supports Markdown rendering out of the box, the formatting should render there directly. Google Docs handles this a bit differently. You’ll need to enable Markdown support first, and then you can use the “Paste from Markdown” feature to automatically convert Markdown into native Docs formatting.