Space added when embedding blocks in lists

Steps to reproduce

  • create a list
  • embed a block

Expected result

I would expect to see the embed on the same line as the bullet. The next bullet should be directly underneath.

Actual result

Instead, spaces are added on top and bottom of the embed resulting in this:


  • Operating system: macOS
  • Debug info: SYSTEM INFO:
    Obsidian version: v0.14.2
    Installer version: v0.13.31
    Operating system: Darwin Kernel Version 21.4.0: Mon Feb 21 20:36:53 PST 2022; root:xnu-8020.101.4~2/RELEASE_ARM64_T8101 21.4.0
    Login status: logged in
    Catalyst license: insider
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Safe mode: off
    Plugins installed: 0
    Plugins enabled: 0


Additional information

I understand you may not like it but I don’t consider this a bug. Open a FR.

Why don’t you consider this a bug?
I’d expect embeds to behave the same way regardless of being in a line of its own or in a list.

They behave the same. There’s a marker there, so pulling the embed up isn’t right.

Again, I understand what you are after. Please, open a FR.