[MlMt] Replacing the Markdown processor

Thomas Wölk thomas.woelk at gmail.com
Mon Dec 2 16:31:57 EST 2013


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

> From the docs, it seemed as though creating
>
> 	{
> 		name    = 'Markdown to HTML';
> 		events  = ( 'email.display' );
> 		input   = 'canonical';
> 		output  = 'html';
> 		select  = '(content-type.type !exists or (content-type.type = text 
> and content-type.subtype = plain)) and content-type.markup = 
> markdown';
> 		script  = '#!/usr/bin/env bash\necho "<div 
> markup=\\"markdown\\">"\n/usr/local/bin/multimarkdown\necho 
> "</div>"\n';
> 		uuid = 'DB65F8BE-6DE5-4BD5-AB9A-0A27599BE8C5';
> 	}

>
> 	#!/bin/sh
> 	
> 	tee /tmp/foo.mailmate | sed -e 's/2  
> AE883AA-33F3-4330-A544-A3B12C621468//g' | /usr/local/bin/multimarkdown

That's very clever.

Possible to upload the script in RAW-format?

What is the last UUID? (AE883AA-33F3-4330-A544-A3B12C621468) is it 
different from the line above? Can you please explain your solution?


-- 
Best, Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20131202/25d3c6db/attachment.html>


More information about the mailmate mailing list