Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Markdown ordered lists not being ordered with any number

#348

Markdown's definition of an ordered list says you can use any number followed by a dot and a space, and Markdown will automatically present an ordered list starting from 1 onwards.

With MailMate, this:

1. Testing1
1. Testing2

Produces two elements with 1, instead of:

  1. Testing1
  2. Testing2

(like this forum correctly does).

I think its very useful not to bother with what number you are writing, just knowing you are writing an ordered list, but this is not available or doesn't work correctly in MailMate (or at least in my copy).

Thanks.

Reported by Gustavo D Villarreal · February 13th, 2013 @ 02:35 AM

State: accepted
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny
    • State changed from new to accepted

    I agree with you, but I have disabled auto-numbering for now because MailMate uses the raw markdown text for the plain text body part of a message. If I did not do this then anyone reading the plain text body part of a message or anyone basing a reply on the plain text body part (like MailMate does) would not see the correct numbering.

    The long term solution would be to update the raw markdown with the same numbering as used for the HTML body part (when generated). I'm still pondering about the various issues with using Markdown for emails — in particular with respect to the plain text body part which is important to me.

    I'll mark this as an accepted feature request, but it's not an easy fix.

    [state:accepted]

    February 15th, 2013 @ 09:14 AM

  2. Gustavo D Villarreal
    Gustavo D Villarreal

    I understand Benny.

    I guess it helps that Markdown is almost human-readable, but it is still a language that needs to be interpreted.

    Thus, my opinion on this situation is that if the specified format is Markdown, then the Markdown should be interpreted, regardless of plain-text or rich-text-HTML output, instead of just using raw for plain-text.

    But I guess that does make it a new feature and is probably a lot of work... Anyway, I think it would be appreciated as, as you may know, writing ordered lists becomes a problem if you need to add a list element at the beginning of the list and then having to change the rest of the numbers of the elements.

    February 15th, 2013 @ 05:16 PM

  3. benny
    benny

    Receiving email clients (showing plain text) do not know Markdown and there is nothing I can do about that. The plain text must be as readable as possible. The “accepted” state means that I do intend to eventually find a nice solution to this problem (which probably involves generating Markdown plain text with the same numbering as used for HTML).

    February 16th, 2013 @ 07:03 AM

  4. Stefan Seiz
    Stefan Seiz

    Hi,

    i'd like to have this fixed too. Bites me at least once per Week.

    I'd rather accept, that the Text-Part of the mail has incorrect numbering if that would speed up the fix of the Markdown/HTML display in the HTML-part of the mail. Having to manually (re)number an ordered list is contrary to why markdown was invented ;-)

    Thanks!

    December 21st, 2015 @ 10:00 AM

  5. Danny
    Danny

    Any update on this issue? I would like this fixed as well, as the person above said, re-ordering these lists becomes cumbersome. I'm currently sticking with unordered lists at the moment as they're easier to manage.

    February 8th, 2019 @ 09:57 AM

  6. benny
    benny

    Sorry, no update on this. It'll have to be “fixed” after I make the Markdown converter used optional (which would implicitly also provide the “solution” involving an erroneous plain text part).

    March 4th, 2019 @ 12:26 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.