Skip to content

Add ability to refer to a section in HTML #4408

@zhiburt

Description

@zhiburt

Current Behavior

Hi there,
I just noticed that on github markdown clicking on link with href like #Usage causes the page to be scrolled to the element.
But on crates.io it doesn't work.

I was thinking this is because of rel=\"nofollow noopener noreferrer\"
But it seemingly not true.
Something might be up to CSS?

I am not sure if its a desired behavior or it is a duplicate issue.
So sorry in such case

Expected Behavior

Following https://crates.io/crates/tabled#Usage will lead to the HTML be rendered on proper section.
And clicking on links like href=#Usage also must work.

Steps To Reproduce

Follow this an you wont get any difference https://crates.io/crates/tabled#Usage but if you used https://crates.io/crates/tabled

Environment

  • Browser: Checked Chrome and Firefox
  • OS: Linux(Fedora)

Anything else?

Happy New Year
And thank you for crates.io

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bug 🐞Category: unintended, undesired behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions