Skip to main content
edited tags
Link

See this markdown:

hello
1. Point 1
2. Point 2

bye
2. Point 2
3. Point 3

Now see how it renders:

hello

  1. Point 1
  2. Point 2

bye 2. Point 2 3. Point 3

As you see, the numbered list items just display properly if the first item has the 1 before it. The block starting with "bye" doesn't show the numbered list properly.

To have the second code block work, you need to add an extra line in between:

bye

2. Point 2
3. Point 3

Which renders well:

bye

  1. Point 2
  2. Point 3

Is this the expected behaviour?

See this markdown:

hello
1. Point 1
2. Point 2

bye
2. Point 2
3. Point 3

Now see how it renders:

hello

  1. Point 1
  2. Point 2

bye 2. Point 2 3. Point 3

As you see, the numbered list items just display properly if the first item has the 1 before it. The block starting with "bye" doesn't show the numbered list properly.

To have the second code work, you need to add an extra line in between:

bye

2. Point 2
3. Point 3

Which renders well:

bye

  1. Point 2
  2. Point 3

Is this the expected behaviour?

See this markdown:

hello
1. Point 1
2. Point 2

bye
2. Point 2
3. Point 3

Now see how it renders:

hello

  1. Point 1
  2. Point 2

bye 2. Point 2 3. Point 3

As you see, the numbered list items just display properly if the first item has the 1 before it. The block starting with "bye" doesn't show the numbered list properly.

To have the second code block work, you need to add an extra line in between:

bye

2. Point 2
3. Point 3

Which renders well:

bye

  1. Point 2
  2. Point 3

Is this the expected behaviour?

Source Link
Loading