[MlMt] Replacing the Markdown processor
Kee Hinckley
kee+freron at hinckley.com
Tue Dec 3 07:38:50 EST 2013
On 3 Dec 2013, at 4:57, Benny Kjær Nielsen wrote:
>> in /Users/nazgul/Library/Application Support/MailMate/Scripts should
>> have replaced the Markdown pre-processor, but that didn't seem to
>> work, nor did editing the same file in the MailMate app itself. In
>> fact, I finally had to replace the ``sundown`` program with a shell
>> script.
>
> You are of course welcome to hack whatever you want, but I do not
> officially support replacing the Markdown converter. The included
> converter includes various changes to behave nicely when a by-product
> is the plain text body part in the generated email.
Can you describe those briefly? Or point me at an example? I'd love to
wrap MultiMarkdown in a way would make it more compatible.
>> What's particularly odd though, is that MailMate is putting a UID in
>> the output that is sent to the Markdown pre-processor, and it's
>> including it just before the last line. So I ended up having the
>> following script.
>
> This is a hack to be able to locate the position of the caret in the
> HTML generated (for auto-scrolling). It currently does not work well
> though (if at all).
Hah. That explains why it kept moving around!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20131203/5dc1d4df/attachment.html>
More information about the mailmate
mailing list