Heading within list not recognized by outline & file link

Outline

Steps to reproduce

  • Create a new note with these contents:
- # Heading 1
- ## Heading 2
  • Observe how the headings are rendered just fine in live preview and reading mode.
  • Open the Outline pane for this file

Expected result

  • The Headings are shown in the outline.

Actual result

The Outline is empty.

Linking

Steps to reproduce

  • Create a file newfile.md with the following contents:
- # Bulleted Heading 1
- ## Bulleted Heading 2

# Non-Bulleted Heading 1
## Non-Bulleted Heading 2
  • Create a second empty file
  • Link the first file with [[newfile]]
  • Place the cursor behind the word “newfile” and before the ]]
  • Type a # to trigger the heading autocompletion for the file

Expected result

  • All 4 headings are available for autocomplete.

Actual result

  • Only the non-bulleted headings are available for autocomplete.

Environment

SYSTEM INFO:
	Obsidian version: v1.2.8
	Installer version: v1.1.15
	Operating system: Darwin Kernel Version 22.4.0: Mon Mar  6 21:01:02 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T8112 22.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
	Restricted mode: on

RECOMMENDATIONS:
	none
SYSTEM INFO:
	Obsidian version: v1.2.8
	Installer version: v1.1.15
	Operating system: Darwin Kernel Version 22.4.0: Mon Mar  6 21:01:02 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T8112 22.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
	Restricted mode: on

RECOMMENDATIONS:
	none

Additional information

Sample vault and screenshots can be provided.

we don’t support it. Please search/open a new feature request.