Skip to content

feat: show header anchor links on hover#2705

Open
BobrImperator wants to merge 1 commit into
masterfrom
anchor-links
Open

feat: show header anchor links on hover#2705
BobrImperator wants to merge 1 commit into
masterfrom
anchor-links

Conversation

@BobrImperator

@BobrImperator BobrImperator commented Apr 24, 2025

Copy link
Copy Markdown
Contributor
  • Shows heading anchor links when heading are hovered in blog posts
    image

Turns out we already had a transform for this but it never showed on hover, instead a user had to focus the element using a tab.

Caveat:

This doesn't cover content defined as .njk files such as the rust-consulting. I couldn't figure out why Eleventy doesn't want to transform those the same way 🤷

@BobrImperator BobrImperator force-pushed the anchor-links branch 2 times, most recently from 2ac9380 to bb8014c Compare April 29, 2025 05:42
@BobrImperator BobrImperator marked this pull request as ready for review April 29, 2025 05:45
@BobrImperator BobrImperator changed the title feat: header anchor links feat: show header anchor links on hover Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants