Diagramate

How to copy a whole reply from your AI assistant

Updated 2026-09-02

Diagramate takes the whole reply: copy the assistant's answer including the explanation, paste it into the editor, and the Mermaid code inside is picked out automatically. The text around it is ignored. Here is what the “Copy” buttons actually return (tested 2026-09-02).

ChatGPT

  • The web app renders Mermaid as an interactive diagram. When you are signed in, the “Copy” button under the reply returns the full Markdown including the code block. Paste it as is.
  • Signed out, the copy button only returns the text labels of the diagram, not the code. Sign in first.

Claude

  • The web app renders the diagram too; “Copy” under the reply returns the full Markdown with the code block.

Other assistants

Any reply that contains Mermaid code works the same way. Three shapes are detected:

  • a code block tagged mermaid;
  • an untagged code block whose first line is a diagram keyword (flowchart TD, sequenceDiagram, …);
  • bare code with no fences at all, with prose before or after it.

The pasted text looks wrong?

  • You only got node labels, one per line: the assistant treated the diagram as an image. Look for a “View code / Copy code” control, or ask the assistant to “reply with the mermaid code block only”.
  • Diagramate says “No diagram type found”: check that the first line is a keyword such as flowchart TD or sequenceDiagram, and add it if the assistant left it out.

Open the editor

Related articles