Copying Formatted Org Text to Other Apps

John Kitchin, who does a lot—most?—of his writing in Org mode sometimes wants to copy and paste Org text into other applications such as Word or the mail app. He wants more than just doing a verbatim copy, he wants the text to keep its formatting. Thus he wants links to appear as links instead of the Org markup for links, italics to appear as italics instead of text between slashes, and so on.

He noticed that this is what happens when you copy from, say, the browser, but not when you copy from Org. The answer, as this video explains, is to first convert the text to rich text format and then copy it to the clip board. After that, it can be pasted into the appropriate app.

Kitchin presents a bit of Elisp to take care of this on the Mac platform but it’s easy to see how you can adapt it to use tools appropriate to whatever platform you’re using. If you’re unfortunate enough to sometimes need to paste Org data into Word, this is just what you need. It’s easy to set up and pretty much seamless—other than assigning a key sequence to the code—to use.

This entry was posted in General and tagged , . Bookmark the permalink.