Closed AntoineFr closed 1 year ago
I'm having the same issue, through use in https://github.com/tighten/jigsaw.
The Markdown syntax says that nested lists need to be indented by 4 spaces or one tab. The way it actually works with this parser (which mimics the original parser's behavior) is that 1 to 4 spaces count as one indent. So your level 3 item need to be indented by 5 to 8 spaces to count as two levels of indentation, and so on.
The Markdown syntax says that nested lists need to be indented by 4 spaces or one tab. The way it actually works with this parser (which mimics the original parser's behavior) is that 1 to 4 spaces count as one indent. So your level 3 item need to be indented by 5 to 8 spaces to count as two levels of indentation, and so on.
Thank you for your help, it works when using 5 spaces or 2 tabs. I was confused because on GitHub (for example) you can create nested lists with only 2 spaces!
When I have a multi-level list, some levels aren't nested enough. It seams that is only affects odd levels.
Code
Result
Preview
Expected result