Allow internal links to any element via anchor

IMHO, this should not be archived yet because now it is possible to address only blocks, not any elements as the title requests. (Clicking on link [a](b#c) does not scroll to anchor with given id=“c”)
If there is a reason for archiving, then I would be interested to hear it.

Currently it is impossible to address links, spans, …
It could be done in following ways:

option:

specifying given element directly in html syntax together with id attribute. This would loose all benefits of markdown.

option:

syntax used in other software/formats mentioned in my previous post, i.e. metadata in curly brackets affixed to the element.

This would also solve e.g.:

Examples:

  • [link text](note5){#linkID123, link-type: parent-child, paired-link: "note5#linkID2"}
  • Some [custom span]{#spanID567, .myclassforformatting, key: value} within block. ^blockID