Skip to content

[Aliki] Add smooth-scroll handler to link inside heading tag#1469

Merged
tompng merged 1 commit into
ruby:masterfrom
tompng:heading_link_scroll
Nov 23, 2025
Merged

[Aliki] Add smooth-scroll handler to link inside heading tag#1469
tompng merged 1 commit into
ruby:masterfrom
tompng:heading_link_scroll

Conversation

@tompng

@tompng tompng commented Nov 23, 2025

Copy link
Copy Markdown
Member

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 temporarily deployed to fork-preview-protection November 23, 2025 08:49 — with GitHub Actions Inactive
@matzbot

matzbot commented Nov 23, 2025

Copy link
Copy Markdown
Collaborator

🚀 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

@st0012 st0012 left a comment

Copy link
Copy Markdown
Member

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