Skip to main content

Request

Please add support for link targets within articles. 

Justification

This feature would allow us to:

  • Build mini-TOCs of links to sections in long articles to help users navigate to the sections they need rather than having to scroll.
  • Add a link from one article to a relevant section in another article. Again, this helps prevent having to scroll. Also, sometimes the title of a target article doesn’t seem relevant to the context of the section that is targeted. In this example, seeing the title can cause users to assume the wrong article was linked.

Detail

This example creates a link target, but Insided changes it to <h2>Example Section Name<h2>:
<h2 id="my-target-id">Example Section Name<h2>

This example inserted into the same article establishes a link that jumps to the target section:

<a href="#my-target-id">Example Section Name</a>

This example inserted into a different article or a different site establishes a link that jumps to the target section, assuming the address of the article is "URLexample-categoryexample-article":

<a href="URLexample-categoryexample-article#my-target-id">Example Section Name</a>

Replying to my own idea because there doesn’t seem to be a way to edit it. I didn’t think of searching for “anchor” before posting this idea. An idea search would have yielded the Creating anchors in posts idea. That idea requests the same for posts in general; this one is specific to articles. This one might be easier to implement.


Updated idea statusNewClosed (Duplicate)
Idea merged into:

All the votes from this idea have been transferred.

Reply