Improves the scroll to hash when viewing Markdown
What does this MR do and why?
Ensures the scroll to anchor is scrolling to the correct position when viewing a Markdown file and a hash is present in the URL
Screenshots or screen recordings
before | after |
---|---|
How to set up and validate locally
- Open a Markdown file via the repository files browser
- Click on an anchor
- Refresh the page
- The page should scroll to the correct position
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Jacques Erasmus