docs.scala-lang icon indicating copy to clipboard operation
docs.scala-lang copied to clipboard

Anchor points ⚓

Open ShalokShalom opened this issue 3 years ago • 4 comments

I like to link that section specifically:

Screenshot_2022-01-27-09-18-41-22

That is currently not possible. I can only link the whole page, and the recipient has to scroll down to that section.

Other documentation pages offer the ability to click the header, or a symbol next to it, and link the section specifically.

I ask to implement that.

Thanks a ton

ShalokShalom avatar Jan 27 '22 08:01 ShalokShalom

Do you mean this?

byyue avatar Feb 04 '22 06:02 byyue

Yep. How you are doing this?

ShalokShalom avatar Feb 05 '22 21:02 ShalokShalom

Please refer to the anchor within a page.

Then you can review the source code and generate the link: https://{the_link_to_the_page}#{some_id_or_name}

byyue avatar Feb 06 '22 11:02 byyue

You surely agree, it's more preferable to simply have an icon, that you can right-click.

ShalokShalom avatar Feb 06 '22 20:02 ShalokShalom