Copying formatted text
Mac
Copy in Preview copies the formatting too. Paste into Mail, Pages, Word or a web form and headings, bold, italics, lists and links arrive formatted. Paste into a plain-text editor, or back into Coffee, and you get the Markdown as you wrote it.
How to copy formatted text
- Make sure the note is in Preview. View › Preview / Markdown (⌘/) switches.
- Select the text and press ⌘C, or ⌘X to cut it.
- Paste it where you need it.
Example
You select this line in Preview and press ⌘C:
In Markdown
Book the **hotel** and the *train*.In Coffee Preview
Book the hotel and the train.
Pasted into Mail, it reads "Book the hotel and the train." with hotel in bold and train in italics. Pasted into Terminal or a code editor, it's Book the **hotel** and the *train*.
Good to know
- In the Markdown view and in split view's Markdown pane, Copy gives the Markdown only.
- Pasted into another Coffee note, the Markdown comes in exactly as it was, links and tags included.