Steps to reproduce
- Create a bullet list
- Add a code block under some list item
- Add some blank lines to the code block
- Switch to preview mode
Expected result
The bullet list is displayed normally
Actual result
The list inserts some whitespace between the items
To make it work normally, we need to indent the empty lines in the code block to the same level as the surrounding lines
Environment
- Operating system: Windows
- Obsidian version: 0.10.8
Additional information
The VS Code mardown renderer handles these two cases correctly: