We strongly recommend you to search the forum with possible keywords before making a new feature request. If your request is very similar to an existing one, consider liking it and/or making a comment rather than making a new one. Once you’ve searched and determined that this is a new request, delete this line.
Use case or problem
A link to a “block” of the following, common format:
- Item 1
- Item 2…
yields a link (e.g. [[#block-link]]) that, when hovered over (with Ctrl/Cmd pressed) does not display the items but only the header.
I would argue that the intent of the format above is clearly that the Header is associated with the items, so that hovering over the block link should display the items too. This would make the hovering feature way more useful.
A subtlety in the definition of a block is that we probably want the following (probably less common, but possible structure) to contain 2 blocks, for instance:
Semantically, if you have a header, you have H1-H6 markup for that.
- Item 1
- Item 2
[[#header]] will include that header and all content until another header of the same or higher level.
Another workaround is to wrap what you consider a block into a blockquote:
> - Item 1
> - Item 2
If plain text has special meaning - it is not at all obvious to machine and would require a markup convention…
To make what OP requests (link to a block that might include plain text and lists) would require non-trivial extension of Markdown specification - stronger paragraph definition - everything that is not separated by empty lines is grouped into one HTML block. I can imagine that will also be difficult to work in live preview.