n1k0 / SublimeHighlight

A humble SublimeText package for exporting highlighted code as RTF or HTML

Home Page:https://github.com/n1k0/SublimeHighlight

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

On Mac OS X, copy to clipboard isn't styled text

cosmolux opened this issue · comments

If you use the copy to clipboard command on Mac OS X, then paste into a typical Mac application such as Mail.app, you won't see styled text, but rather the raw RTF or HTML.

Perhaps there is some flag on the clipboard or mime-type that must be set so the OS understands that this is styled text?

Ahah! I see that the "View as RTF" opens the selection as styled text in TextEdit, from where it can be copied and pasted as Mac styled text. An adequate workaround.

As a side note, I wish I could find a way to directly have styled contents copied into the clipboard…