Show headings that are inside bullet lists in Outline view

Use case or problem

The title

Proposed solution

I’m aware that it’s an issue related to markdown generally, but I feel like it can be fixed by including the text that has "- # " before it at the start of a line as a heading, since it can’t be anything other than a heading in a bullet list, or at least make it an option in the settings

Current workaround (optional)

None

Related feature requests (optional)

7 Likes

You’re proposing an extension to markdown which I don’t think a lot of markdown engine are supporting, if any at all. Headers are not supposed to be within list elements, and this is also common practice for markdown.

So no matter how much you want it, this is most likely not going to happen, neither as a bug nor as this feature request, where you’ve posted almost identical requests.

It’s just not going to happen, unless you get to someone convinced to break standard conventions.

1 Like

CommonMark (which Obsidian’s Markdown is based on) allows headings in list items (linking to example above the relevant one so all the text appears on screen). Whether that’s a good idea is another question.

If Obsidian did show these in the outline, I imagine it would only consider heading level for indentation, not whether they’re in a list, which might surprise some users.

Hmmm… That’s just messy from my point of view. I’m confused regarding why that would be allowed. So I’m just going to step away from this debate then, as I might only contribute with more confusion.

1 Like

I’m guessing original Markdown doesn’t say anything about it one way or the other, and CommonMark probably allows it for consistency with the other stuff that’s allowed in list items.

I didn’t say modify the whole markdown engine or anything like that, what I meant is an additional simple function that puts the text after "- # " in the outline view, and as @CawlinTeffid said it would consider the heading level for indentation just like any normal heading, and I’m sure there might be another better way to do it since headings are already rendered normally in those lists

As for the reason, I personally (and I’m sure many others too) structure my whole notes in bullet lists. the outlining method isn’t anything new and lots of other softwares are completely based around it (Logseq, Roam Research, Workflowy, etc…)

Do you use the Outliner community plugin? That might add bullet headings to the outline. If it doesn’t, that might be a good feature to request of it.

1 Like

Yeah I use it but unfortunately it doesn’t have something like that, thanks tho!

I also want to request that feature. Any news on that or idea to implement?

I would also like to request this feature.

What I am trying to do is create a layout with multiple columns in read mode using css styling. Each column should have a header that I can expand and collapse the nested information that is under it.
Additionally, when in edit mode, I want to be able to reorder these headers by dragging them around using the outline functionality.

I tried using CSS styling to achieve this, but wrapping headers for the column layout caused them to vanish from the outline.
Or maybe I don’t know how to get the results I want. Either way, I tried a lot of different things to get it to work.

Any advice on how to achieve both collapsible headers and maintain the browser outline for reordering would be greatly appreciated!

That sounds like it should be doable. The Kanban plugin makes headings appear as columns (tho not collapsible), so maybe you could start with that. If you’re on Discord, the wizards in the #appearance channel can be very helpful. The corresponding section here is Custom CSS & Theme Design .