[MlMt] Syntax highlighting wraps everything on one line

Kee Hinckley kee at hinckley.com
Mon Mar 28 23:05:15 EDT 2016


> On Mar 28, 2016, at 1:15 PM, Adam Liter <adam.liter at gmail.com> wrote:
> 
> Thanks for your responses. Kee, how do you switch to the builtin markdown processor?
> 

I don't know if I should tell. Benny will probably shoot me if I cause any more problems for him. :)

I replaced the "sundown" binary inside of MailMate with my own markdown processor; initially a custom python pre-processor with multimarkdown as the backend, then later with pandoc.

And I made a modified version of the script which converts html to markdown, making it just pass through the html.

The downside of this is that if a MailMate user replies, _their_ mail program isn't going to handle all that stuff, so you'll lose a bunch of formatting.

I did it for two reasons. The primary one was that to use MailMate for work, I had to have a processor that would handle html as well as markdown. Secondarily I wanted to play with things like code styling, style sheets, and other addons that sundown didn't support.

Since then Benny has added nearly all the features I wanted (and then some). So I recently switched back to the builtin processor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20160328/155462ef/attachment.html>


More information about the mailmate mailing list