When selecting text in a code block, there is no copy command on the context menu. Command-c will copy, but there is no copy in the context menu.
When selecting text in a code block, there is no copy command on the context menu. Command-c will copy, but there is no copy in the context menu.
Ok, what would you expect the Copy menu item to do? Copy plain text, rtf, html?
For the time being I've added the standard Copy command to the contextual menu. It will copy with formatting. If you copy code and paste it into a text editor, it will likely show up without line breaks. I could feasibly convert the HTML to plain text preserving whitespace, but I think for the most part if people really want the plain text code, they have the original Markdown at hand.
I think there are a couple of different situations: