getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.27k stars 167 forks source link

Markdown does not allow nested list within ordered list #6298

Closed miragecraft closed 7 months ago

miragecraft commented 7 months ago

For the following markdown:

test 1

1. level one
2. level one
  1. level two
  2. level two

test 2

1. level one
2. level one
  - level two
  - level two

test 3

- level one
- level one
  1. level two
  2. level two

Only test 3 works, both test 1 and 2 fails with nested lists refuse to be nested.

image

It is my understanding that Kirby uses Parsedown, and Parsedown handles all 3 test cases just fine when I tried the demo on their website.

Version

v4.0.3

miragecraft commented 7 months ago

Looks like the issue is not enough spacing in front of the nested list.

once I added one more space it works.