Code block inside the block quote does not rendered properly in Live Preview mode

Steps to reproduce

  1. Turning on the live preview mode
  2. Create a note with code block inside a block quote:

> Add the `-Z` (aka `--null`) flag to `grep`, and the `-0` (also aka `--null`) flag to `xargs`. This will output NUL terminated file names, and tell `xargs` to read NUL terminated arguments.
> ```shell
> grep -irlZ $schema $WORKDIR/ | xargs -0 sed -i 's/'"$schema"'/EXI1/gI'
> ```

Expected result

The above note should be rendered properly in live preview mode, as the same as in the preview mode:

Actual result

The code block within the block quote is not rendered properly.


  • Operating system:
  • Debug info:
    Obsidian version: v0.13.18
    Installer version: v0.12.3
    Login status: logged in
    Catalyst license: insider
    Insider build toggle: on
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Safe mode: on


Additional information


1 Like

A post was merged into an existing topic: Code blocks in quotes are not rendered like code blocks in Live Preview