# Bug with Numbered list

**URL:** https://meta.discourse.org/t/bug-with-numbered-list/57497
**Category:** Support
**Created:** [February 16, 2017, 6:38pm UTC](https://meta.discourse.org/t/bug-with-numbered-list/57497 "2017-02-16T18:38:44Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![zbor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zbor/32/67843_2.png) [@zbor](https://meta.discourse.org/u/zbor)
#### Post date: [February 16, 2017, 6:38pm UTC](https://meta.discourse.org/t/bug-with-numbered-list/57497/1 "2017-02-16T18:38:44Z")

</div>

When the list is Numbered it’s fine.

1. Number one
2. Number two
3. Number three

But as soon you have some comments in between list then it resets numbers, no matter what you write.

1. Number four

Some text here

1. Number five

Some text here

 ![](https://global.discourse-cdn.com/meta/original/3X/1/a/1a7081ad72a04dbef44889ae565ae0b12908f00e.png)

---

<div class="post-metadata">

### Author: ![zbor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zbor/32/67843_2.png) [@zbor](https://meta.discourse.org/u/zbor)
#### Post date: [February 16, 2017, 6:42pm UTC](https://meta.discourse.org/t/bug-with-numbered-list/57497/2 "2017-02-16T18:42:29Z")

</div>

There is a workaround to put Preformatted Text tags around:

When the list is Numbered it’s fine.

1. Number one
2. Number two
3. Number three

But as soon you have some comments in between list then it resets numbers, no matter what you write.

`4.` Number four

Some text here

`5`. Number five

Some text here

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [February 16, 2017, 6:45pm UTC](https://meta.discourse.org/t/bug-with-numbered-list/57497/3 "2017-02-16T18:45:42Z")

</div>

Yeah, this is a known limitation of markdown, you can’t break the list:

```
1. Test

2. Another
Comment

3. Works
<br>
If you never break the block

4. See?

```

1. Test

2. Another  
Comment

3. Works  
  
  
If you never break the block

4. See?

[Markdown-it](https://markdown-it.github.io/) makes this a little better by allowing lists to start at arbitrary numbers.

---

<div class="post-metadata">

### Author: ![zbor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zbor/32/67843_2.png) [@zbor](https://meta.discourse.org/u/zbor)
#### Post date: [February 16, 2017, 6:50pm UTC](https://meta.discourse.org/t/bug-with-numbered-list/57497/4 "2017-02-16T18:50:44Z")

</div>

Ok, thx for the link

Edit:

To make in simple words to someone who could find this usefull  
I’ve found that if you don’t have empty row above (write anything) the list will continue to count.

 ![](https://global.discourse-cdn.com/meta/original/3X/6/5/65185c961153a5d0c9a080ab8b982c6d52094456.png)

In the example number 4 has \_ above while number 5 has empty row.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 16, 2017, 9:37pm UTC](https://meta.discourse.org/t/bug-with-numbered-list/57497/5 "2017-02-16T21:37:48Z")

</div>

This is the way Markdown works.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 16, 2017, 9:37pm UTC](https://meta.discourse.org/t/bug-with-numbered-list/57497/6 "2017-02-16T21:37:53Z")

</div>


