Skip to content

Copy and Paste ​

Copying ​

A copy puts three versions of the selection on the clipboard:

  • Plain text — readable text. Table selections become tab-separated values.
  • HTML — for pasting into mail, word processors and web apps.
  • Typora's own format — so pasting back into Typora keeps the exact Markdown, list nesting, table structure, code languages, and the reference links and footnotes the selection depends on.

Other ways to copy, from the Edit menu or the context menu:

CommandClipboard gets
Copy as MarkdownThe Markdown source only
Copy as HTML CodeThe HTML source as text
Copy as Plain TextPlain text only
Copy without Theme StylingHTML without your theme's styles
Copy Image ContentThe image itself, with the caret on an image

Settings ▸ Control ▸ Copy & Paste:

  • Copy Markdown by Default — the plain-text version is the Markdown source instead of readable text.
  • Line-wise Copy and Cut — with nothing selected, copy or cut takes the whole line.

The Copy button on a code block copies the whole block. Pasted into an empty paragraph it becomes a code block again; pasted into another code block it inserts only the code.

Pasting ​

Typora picks the richest format it understands: its own format first, then HTML (converted to Markdown — headings, lists, tasks, code with language, links, images, tables), then plain text.

  • Paste as Plain Text ignores formatting and doesn't interpret Markdown or tab-separated values. Markdown characters are escaped so they stay literal.
  • Relative image and link paths are adjusted to the document you paste into.
  • Each paste is one undo step.

Tables ​

You copyYou paste intoResult
TextA cellInserted into that cell
A block of cellsA cell or a cell selectionOverwrites cells starting at the top-left; the table grows if needed
Whole rowsA cellInserted above that row
Whole columnsA cellInserted before that column
Rows or columnsThe same kind of selectionReplaces the selected rows or columns
A table or cellsOutside a tableA new table
  • A single cell fills every selected cell.
  • Data is never clipped or repeated to fit; the written cells are selected afterwards.
  • Tables from spreadsheets (tab-separated), HTML tables (merged cells are expanded) and Markdown tables are all recognised.

Theme adapted from Nimbus (MIT).