Skip to content

Fix auto-scrolling to Markdown anchors

What does this MR do and why?

Fixes auto-scrolling to markdown anchors.

Screenshots or screen recordings

before after
Screenshot_2023-09-28_at_09.01.59 Screenshot_2023-09-28_at_09.02.16

How to set up and validate locally

  1. Open a large Markdown file sample.md.
  2. Select the anchor in one of the headings.
  3. Refresh the page.
  4. The page should auto-scroll to the selected heading.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #417496 (closed)

Edited by Jacques Erasmus

Merge request reports