grav
grav copied to clipboard
.md parsing: broken code blocks inside list elements
Is it a parser bug? This .md is fine:
- list element
- deeper list element
` ` `python
code
code
code
code
code
code
code
code
code
` ` `

But this will be broken:
- list element
- deeper list element
` ` `python
code
code
code
code
code
code
code
code
code
` ` `

The difference is the empty line after "deeper list element" which makes the codeblock dependent or independent from the list. The problem occurs with dependent blocks only.
I need it dependent, cause it belongs to the list element and so I want to see proper alignment.