[MlMt] Replacing the Markdown processor

Benny Kjær Nielsen mailinglist at freron.com
Tue Dec 3 04:57:39 EST 2013


On 2 Dec 2013, at 13:53, Kee Hinckley wrote:

> From the docs, it seemed as though creating
>
> [...]
>
> 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.

> 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.[^foot]

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).

-- 
Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20131203/d06774dc/attachment.html>


More information about the mailmate mailing list