Allow to create an anchor or link from headings #124090
Replies: 1 comment 1 reply
-
To enable sharing links that anchor to a specific heading or header within a discussion post or comment, you can use HTML anchor tags and IDs. This approach allows users to jump directly to a particular section of a discussion, enhancing navigation and user experience. Here's how you can implement this:
IntroductionWelcome to the discussion... DetailsHere are the detailed information... ConclusionThis concludes the discussion... Create Anchor Links: html Go to Introduction Using Anchor Links in Comments: html Great point mentioned in the Details section. Ensuring Compatibility: Example in Context: Original Post: html IntroductionWelcome to the discussion on web development best practices... DetailsHere are the detailed steps and methodologies... ConclusionThis concludes the discussion with a summary... User Comment: html
By implementing these steps, you can enhance the interactivity and usability of your discussions, making it easier for users to reference and navigate specific parts of the content. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Product Feedback
Body
It will be good to share a link that will be able to anchor to a certain heading/header from the contents of any post or comments inside the discussion.
I prefer to use the discussion instead of wiki to allow comments on a certain guide/discussion.
Update
![image](https://private-user-images.githubusercontent.com/7194300/337576870-ca50bb9b-ade6-4e19-bcad-7b32c38f1c15.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg0NTI3MzksIm5iZiI6MTcxODQ1MjQzOSwicGF0aCI6Ii83MTk0MzAwLzMzNzU3Njg3MC1jYTUwYmI5Yi1hZGU2LTRlMTktYmNhZC03YjMyYzM4ZjFjMTUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MTVUMTE1MzU5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWY4OTQ2NjY4NzE3MTVhZGE4NGFkZmUyMGJjNWJlZTRlNjU0ZWFmZjE3M2EwY2Y0NTY2NDI1MWMzNTZlY2Q2YiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.B6DS3Ta7EKuDrX8RDURbesmQICfDFGuXLJ_o5eamo_k)
Using html works to redirect user to a certain part,
but it would be great if github has similar experience just like on the readme where I can just hover on some headings
Beta Was this translation helpful? Give feedback.
All reactions