Skip to content

Conversation

@tompng
Copy link
Member

@tompng tompng commented Nov 23, 2025

Clicking on TOC link smoothly scrolls to heading tag.
This pull request add this smooth scroll feature also to <h1><a href="#heading-itself"></a></h1>

@tompng tompng deployed to fork-preview-protection November 23, 2025 08:49 — with GitHub Actions Active
@matzbot
Copy link
Collaborator

matzbot commented Nov 23, 2025

🚀 Preview deployment available at: https://6f020671.rdoc-6cd.pages.dev (commit: 6ad18e9)

@st0012 st0012 changed the title Add smooth-scroll handler to link inside heading tag [Aliki] Add smooth-scroll handler to link inside heading tag Nov 23, 2025
Copy link
Member

@st0012 st0012 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat!

@tompng tompng merged commit 7a3edb3 into ruby:master Nov 23, 2025
33 checks passed
@tompng tompng deleted the heading_link_scroll branch November 23, 2025 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants