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

Environment

  • Operating system: Windows 10
  • Debug info:
    SYSTEM 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

RECOMMENDATIONS:
none


Additional information

2 Likes

Please search before posting