I’m not completely sure if the flavors of markdown supported by Obsidian support headers in bullet/ordered lists or not, but either way it still doesn’t work as it should.
Create either a bullet list or ordered list. Make the first item a header.
Expected result
I expected the header to appear in the header outline pane if supported or the “#” to be rendered as actual text in the preview.
Actual result
The text following the “#” is rendered as appropriate header size in the preview pane & the header does not show up in the header outline pane.
Environment
Operating system: Windows 10
Obsidian version: 0.9.3
Additional information
I suspect that most likely no flavor of Markdown supports headers within lists of any sort, but if that is the case then the preview should not render the text as header sized.
I stumbled upon this while trying to indent a subheading.
We only added support for Live Preview rendering of headings in lists - unfortunately due to the way headings and sections work (for referencing, search, etc), headings in lists do not count as a proper heading section, and thus we don’t be explicitly supporting them for things like outlines and heading links.