Lost Lost - 1 month ago 17
Markdown Question

Markdown lists don't follow order

I'm trying to create a wiki and I have this issue
Let's say I have something like this:



  1. Item 1

  2. Item 2



I need do add this code on this step



  1. Item 3




But it displays something like this:



  1. Item 1

  2. Item 2



I need do add this code on this step



  1. Item 3




I need it to keep following the order. How can I fix this?

Answer

You should use the code below:

1. Item 1

2. Item 2

    ```
    code
    ```

3. Item 3

It produces this:

  1. Item

  2. Item 2

    code

  3. Item 3

Comments