Re: [MlMt] Markdown numbering in lists not honoured?

2013-11-26 Thread Jason Davies

On 26 Nov 2013, at 19:18, Bjørn Bulthuis wrote:

Brett Terpstra's Markdown Service Tools can do this. Perhaps this will 
work for your situation.


I thought someone would have done this... thanks. Downloading now.
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Markdown numbering in lists not honoured?

2013-11-26 Thread Bjørn Bulthuis

On 26 Nov 2013, at 10:50, Jason Davies wrote:

Or is there a utility that does this on the fly? It's surprisingly 
difficult, even with something like Multimarkdown Composer


(Feels like a Services thing to build, but how would I build it..which 
engine could do this?)


Brett Terpstra's [Markdown Service 
Tools](http://brettterpstra.com/projects/markdown-service-tools/) can do 
this. Perhaps this will work for your situation.


--
Bjørn

___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Markdown numbering in lists not honoured?

2013-11-26 Thread Jason Davies

On 26 Nov 2013, at 15:36, Benny Kjær Nielsen wrote:

Background info: A typical rich text message has two body parts as 
subparts of a so-called multipart/alternative (MIME) body part. One 
body part is plain text and one body part is HTML. The receiving email 
client can show either of these. By default MailMate shows HTML, but 
this can be changed in the Viewer preferences pane. Some receiving 
email clients can only show plain text.


ah, impeccable logic.

BUT - this is one of my favourite markdown features. ANd it's vanilla 
markdown so it's confusing. So I - politely - request that some other 
workflow be possible, perhaps even to the extent of having the plain 
text version be 'corrected' (possibly with a warning?)


I can see this one will divide people though. I want to be able to make 
a list without worrying about numbering (because I *always* end up 
adding something between 3 and 4 etc)?


Or is there a utility that does this on the fly? It's surprisingly 
difficult, even with something like Multimarkdown Composer


(Feels like a Services thing to build, but how would I build it..which 
engine could do this?)
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Markdown numbering in lists not honoured?

2013-11-26 Thread Benny Kjær Nielsen

On 26 Nov 2013, at 14:49, Jason Davies wrote:


Am I missing something? I thought this markdown input

1. item 1
6. item 2
1. item 3

would produce, when formatted,

1. item 1
2. item 2
3. item 3

but it never seems to work here...


It's on purpose and it's a good example of how MailMate uses Markdown 
(which is different than most other email clients I suspect).


Background info: A typical rich text message has two body parts as 
subparts of a so-called `multipart/alternative` (MIME) body part. One 
body part is plain text and one body part is HTML. The receiving email 
client can show either of these. By default MailMate shows HTML, but 
this can be changed in the Viewer preferences pane. Some receiving email 
clients can only show plain text.


In MailMate, the plain text body part is the raw Markdown text and this 
is naturally a problem if lists are renumbered. The current solution is 
to not do renumbering such that this fact is not hidden from the user. A 
better solution might be to implement a Markdown to Markdown conversion, 
also for other reasons…


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate