Code blocks in list are not displayed correctly in live preview mode

Steps to reproduce

  1. Turn on live preview mode
  2. Create a note
  3. Paste the following into it
- ```java
  class a {

Expected result

This can be obtained in reading mode.

Actual result


  • Operating system: Windows 10
  • Debug info:
    Obsidian version: v0.13.31
    Installer version: v0.13.31
    Operating system: Windows 10 Pro 10.0.19041
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Safe mode: on


Additional information

Please search before posting