Live preview should NOT recognize math block when there blank lines between $$ markers

Steps to reproduce

The following markdown results in “Heading 1” (and any subsequent headings, at any level) not rendering in the outliner):

# Heading 0
- b

# Heading 1

Expected result

Heading 0 and Heading 1 should appear in the outliner

Actual result

Heading 1 (and any further headings) added to the document do not render.


  • Operating system:
    Linux (NixOS), native install (not appimage)
  • Debug info:
    Obsidian version: v1.0.3
    Installer version: v1.0.3
    Operating system: #1-NixOS SMP Thu Nov 10 17:15:43 UTC 2022 5.15.78
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Restricted mode: on


Additional information

outliner is correct. It’s live preview that should not parse that. The reader is correct too.

Ah, I see. In that case this is probably a bug in the WYSIWYG editor mode as that disagrees with the reader and outliner.

yes, it is.