Problem
There are many answers on Stack Overflow that consist of hundreds or thousands of line of explanation, documentation, and code, and while the people who post those answers usually use headings and segment their content accordingly, but since there is no way to reference a part of your answer (rather than the whole answer itself), you may have to scroll quite a bit before finding the section you are actually interested in.
The person that posts the answer has devoted a certain amount of their time, so the first time you are going through the answer you should try to read and comprehend most of it. But if you have favorited or bookmarked the answer since it solves a frequent problem and you need a part that isn't very close to the top, you will have to scroll every time you visit the question.
Proposed solution
If you were able to give an id to headers (or have Stack Overflow generate one for you), you would then be able to add that to a link using #id
at the of the link.
Example:
[Find Header 1 here](https://meta.stackoverflow.com/questions/388438/allow-links-to-reference-the-headers-in-answers-or-questions#header-1)
<span id="header-1">Header 1</span>
-----------------------------------
Which would look like:
#
in your bookmarks