diff --git a/docs/user-guide/assistants/copy-table.md b/docs/user-guide/assistants/copy-table.md new file mode 100644 index 00000000..76ca20e1 --- /dev/null +++ b/docs/user-guide/assistants/copy-table.md @@ -0,0 +1,18 @@ +--- +id: copy-table +title: Copy Table to Clipboard +sidebar_label: Copy Table +sidebar_position: 20 +pagination_prev: user-guide/assistants/assistants-overview +pagination_next: null +--- + +# Copy Table to Clipboard + +When an assistant response includes a markdown table, a **Copy** button appears in the top-right corner of the table. Clicking the button copies the full table content to the clipboard as plain text, regardless of table size or scroll position. + +A **"Table copied to clipboard"** confirmation message appears briefly after the copy is complete. + +This makes it easy to reuse structured data from assistant responses — for example, pasting a table into a spreadsheet, document, or another tool without requiring manual text selection. + +![Copy Table button and toast](./images/copy-table-btn.png) diff --git a/docs/user-guide/assistants/images/copy-table-btn.png b/docs/user-guide/assistants/images/copy-table-btn.png new file mode 100644 index 00000000..becb8296 Binary files /dev/null and b/docs/user-guide/assistants/images/copy-table-btn.png differ diff --git a/faq/how-do-i-copy-a-table-from-an-assistant-response.md b/faq/how-do-i-copy-a-table-from-an-assistant-response.md new file mode 100644 index 00000000..abf439a5 --- /dev/null +++ b/faq/how-do-i-copy-a-table-from-an-assistant-response.md @@ -0,0 +1,9 @@ +# How do I copy a table from an assistant response? + +Every markdown table in an assistant response has a **Copy** button in the top-right corner. Clicking it copies the full table content to the clipboard as plain text. A **"Table copied to clipboard"** confirmation message appears briefly after the copy completes. + +The entire table is copied regardless of its size or scroll position, so there is no need to manually select the text. + +## Sources + +- [Copy Table to Clipboard](https://docs.codemie.ai/user-guide/assistants/copy-table/) diff --git a/sidebars.ts b/sidebars.ts index da2201f5..4eeac8e0 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -69,6 +69,7 @@ const sidebars: SidebarsConfig = { 'user-guide/assistants/share-assistant-chat-with-other-users', 'user-guide/assistants/export-assistant-chat-messages-to-word-and-pdf-formats', 'user-guide/assistants/html-preview', + 'user-guide/assistants/copy-table', 'user-guide/assistants/chat-input-settings', ], },