Possible bug. Numbers after quote markdown get overridden

Example (edit to see the problem):

  1. This is my first very important point

This is a very interesting point

  1. This is my second very important point

I do declare, sir, this looks similar to your first point.

share|improve this question
3  
numbered lists always start at 1, no matter what number you type in. When you interrupt the list it creates a new list –  murgatroid99 Aug 13 '12 at 0:29
1  
But this isn't a markdown list, it's a quote >, are they treated the same? –  dfb Aug 13 '12 at 0:33
    
When you write 1. , markdown parses it as the start of a numbered list –  murgatroid99 Aug 13 '12 at 0:35
    
Why would it not be a new list after each new paragraph? You should mention in what cases you're doing this and what you're expecting. –  random Aug 13 '12 at 0:35
    
@random - If you're quoting someone else's list –  dfb Aug 13 '12 at 0:35
    
@dfb It's a valid use case, but not really important enough (and not a bug, it's by design, Markdown can't render everything). Use one of the hacks. –  Yannis Aug 13 '12 at 0:40
    
@YannisRizos - Sure, just checking, thanks for the hacks –  dfb Aug 13 '12 at 0:40
2  
[status-lists-in-markdown-suck-and-we-arent-messing-with-it] –  Won't Aug 13 '12 at 12:16
    
This is very inconvenient when quoting large sections from a standard etc. Unless you are aware of the bug/"feature", SO will mess up your whole post. Why spend time implementing "features" that are completely useless? –  Lundin Mar 25 '13 at 14:06
add comment

2 Answers

up vote 15 down vote accepted
> 1\. This is my first **very** important point

This is a very interesting point

> 2\. This is my second **very** important point

etc.

1. This is my first very important point

This is a very interesting point

2. This is my second very important point

etc.

share|improve this answer
    
Less typing than my hack but the backticks change the font. –  Yannis Aug 13 '12 at 0:37
1  
I personally prefer 1\. and 2\. as it doesn't improperly format the numbers as inline code blocks. –  animuson Aug 13 '12 at 0:46
    
@animuson agreed that's a better solution... updated –  Conner Aug 13 '12 at 0:56
add comment

1. This is my first very important point

This is a very interesting point

2. This is my second very important point

I do declare, sir, this is also a very interesting point!


The simple hack:

> <!---->1. This is my first **very** important point

This is a very interesting point

> <!---->2. This is my second **very** important point

I do declare, sir, this is also a very interesting point!
share|improve this answer
    
I'll just note that this is not actually parsed as a markdown list; it just looks like one –  murgatroid99 Aug 13 '12 at 0:33
    
@murgatroid99 Obviously it's just a workaround ;) –  Yannis Aug 13 '12 at 0:34
    
I just wanted to make sure other people reading it would realize without looking at the edits –  murgatroid99 Aug 13 '12 at 0:34
    
@murgatroid99 I've updated the answer to clearly show it's a hack. –  Yannis Aug 13 '12 at 0:37
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .