<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body><div style="font-family: sans-serif;"><div class="plaintext" style="white-space: normal;"><p dir="auto">On 2023-10-31 08:02:02 (+0800), Christian Bailey via mailmate wrote:</p>
</div><blockquote class="embedded" style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; color: #777777;"><div id="62A11641-F8BC-4293-A27C-8E937D3D81C1">

<div style="font-family: sans-serif;">
<div class="markdown" style="white-space: normal;">
<p dir="auto">Is there a way to copy markdown from a message in MailMate? I need to do this from both messages I received and messages I previously sent.</p>
<p dir="auto">When I copy-paste into another markdown-compatible program (e.g., Notion web app) it comes across as plain text.</p>
<p dir="auto">My current hack is to press Cmd-Shift-D to resend the message and copy markdown from there. But it would be easier to copy directly from the rendered email. And this hack doesn’t work for copying formatted text from messages that were replied to (anything below the top message in and email with replies or forwards).</p>
<p dir="auto">e.g. here is some text I’d like to copy as markdown from a formatted message:</p>
<p dir="auto"><img src="cid:3BAD2AF1-7599-4E2E-9A80-AC7EE41DC172@gmail.com" width="222" alt title="PastedImage.png" style="width: 100%; max-width: 222px;"><br>
<img src="cid:293E1B49-7E93-43B8-BA2A-4A4072BB420C@gmail.com" width="605" alt title="PastedImage.png" style="width: 100%; max-width: 605px;"></p>
</div>
</div></div></blockquote>
<div class="plaintext" style="white-space: normal;"><p dir="auto">
<br>
You could copy the Markdown from the source of the message (⌘+⌥+u) rather than the rendered message.  That'll work as long as it wasn't base64 encoded for some reason.  (It will only work on Markdown email, not on HTML.)</p>
<p dir="auto">Philip</p>
<p dir="auto">-- 
<br>
Philip Paeps
<br>
Senior Reality Engineer
<br>
Alternative Enterprises</p>
</div>

</div>
</body>

</html>