markdown-here
markdown-here copied to clipboard
What would it take to make MDH work in Apple Mail?
As the title says, I'd be interested to know whether it'd be possible to implement Markdown Here for Apple Mail as a plugin.
I use Apple Mail primarily for my work e-mails, most of which include pre- and code-formatted text.
I'm not an Objective C programmer, so I couldn't even give an estimate here, and it appears that you cannot simply extend Apple Mail since its API is undocumented.
I'm marking this as low priority since it looks like it would involve a complete rewrite in a different language using undocumented APIs.
+1
for this. May be it could be written as a system service like this one if writing this way doesn't require the knowledge of Apple Mail API. I really like to get GFM working so I can use syntax highlighted code blocks.
+1 for an Apple Mail version of Markdown Here
+1 for an Apple Mail version
+1 for an Apple Mail version of Markdown Here :dancer:
+1 for an Apple Mail version for Markdown Here
+1 for this too!
+1!
+1 for an Apple Mail version of Markdown Here
+1
+1
:+1:
Could this be done as a documented and more generic “Action” App Extension instead of a plugin in 10.10+?
Could this be done as a documented and more generic “Action” App Extension instead of a plugin in 10.10+?
Iv'e been wondering exactly the same thing…
+1
+1
The alternative is to buy and use MailMate. It supports Markdown and is a pretty heavily customizable tool. Plus, the dev is awesome and very responsive. Not related to MailMate in any way except as a satisfied customer.
MailMate could do with a UI makeover. Airmail has basic support for Markdown, and I think Polymail will soon too. Nylas N1 has a plugin for it which worked although is currently broken it will be fixed.
Ideally a native “Action” App Extension would work well with Apple Mail…
+1!
+1
+1
+1
+1
Folks, instead of +1ing this issue, please just hit the 👍 button.
Poor man's workaround given that Apple Mail API route is fraught with peril.
A keyboard shortcut that invokes an AppleScript (/JS) that copies the full text(/current selection) and pipes it through a Markdown to RTF filter (marked
/pandoc
-> textutil
), placing the output into the clipboard (pbcopy
) and pasting it back as rich text.
POC: given markdown text in the clipboard,
pbpaste | marked | textutil -stdin -format html -convert rtf -stdout | pbcopy
then paste back into the mail message.
No GUI and no revert capabilities, but better than nothing I guess?
@lucianf this is great, and it works well in terminal. I can't seem to get this working in an Apple Script/Automator workflow though, and I've tried a few variations. Any chance you've solved this for new MacOS?
+1 for an Apple Mail version
Hi, is this somehow still a topic ? Thanks!