Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Solo] Add anchor link to content headings #2

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

evanwon
Copy link

@evanwon evanwon commented Nov 29, 2022

This change adds anchor links to post headings, enabling you to share deep links to your articles so that people can navigate directly to the relevant content you're trying to share. The anchor link is hidden until you hover over (or touch) the heading, and once it's displayed you can copy the link to share it with someone else.

Here's a demo of what it looks like:

solo-heading-anchor-demo.mp4

And I'm hosting a live demo on my personal website which you can see here: https://evanw.com/2021-my-year-in-reading/#the-stats

This feature is really useful when you write longer-form content and want to share a specific section with someone, or if you're trying to link to specific sections within your own content.

If there are any questions or concerns about this change, please let me know. Thanks for the consideration!

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.

1 participant