github/markup

Auto scroll does not work with an anchored link via .md file

krisiye opened this issue · 1 comments

Github markdown issue noticed when navigating to an anchored link via .md file, it doesnt scroll down to the anchored section. But if we visit the link (with the anchor in the URL) directly, it auto scrolls properly.

Link to a section for example:
[example](../../docs/foo.md#bar)

Live example:
Visiting the link below works fine - https://github.com/aws/aws-advanced-jdbc-wrapper/blob/main/docs/using-the-jdbc-driver/UsingTheJdbcDriver.md#configuration-profiles

However linking this from another .md a couple levels deeper does not end up scrolling to the section. For instance from here:

https://github.com/aws/aws-advanced-jdbc-wrapper/blob/main/examples/SpringHibernateBalancedReaderOneDataSourceExample/README.md#step-3-configure-spring-and-hibernate

where the md anchor looks like like this:
[Configuration Profiles](../../docs/using-the-jdbc-driver/UsingTheJdbcDriver.md#configuration-profiles)

Stale issue message