#348 accepted
Gustavo D Villarreal

Markdown ordered lists not being ordered with any number

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

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.

Comments and changes to this ticket

  • benny

    benny February 15th, 2013 @ 09:14 AM

    • 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]

  • Gustavo D Villarreal

    Gustavo D Villarreal February 15th, 2013 @ 05:16 PM

    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.

  • benny

    benny February 16th, 2013 @ 07:03 AM

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

  • benny

    benny March 4th, 2019 @ 12:26 PM

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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages