Yes, it fails there too. This is the code of what I tried:
code block 1
First-level bullet point
code block 2
- Second-level bullet point
Expected result
I was expecting the second-level bullet point after code block 2 to be rendered as a regular second-level bullet point (as it does correctly for first-level bullet points), not to be rendered as a code line
Actual result
The second-level bullet point got rendered as a code line.
Environment
SYSTEM INFO:
Obsidian version: v1.5.12
Installer version: v1.4.16
Operating system: Windows 10 Enterprise 10.0.22631
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
I’ve been fighting with the same issue for a while. You can find information below on how to make it work:
Create a code block using the three (`), add the code, and then use the tab key to indent each line inside the code block. You will see the code block correctly indented when using the Reading View. By doing it this way, the bullet point underneath the code block will no longer display as “code.”
Also, as a side note, this only works up to three indentation levels.