haskell / haskell/blog.haskell.org
Provide a link to get an achor for a section
- Dominant language
- JavaScript
- Stars
- 19
- Forks
- 23
- Avg merge
- 19h 17m
- Merged PRs (30d)
- 1
Description
I want to reference a section of a blog post (in particular, the Cabal 3.14 section of [this post](https://blog.haskell.org/ghc-9-12-cabal-3-14/)), and the anchor exists: https://blog.haskell.org/ghc-9-12-cabal-3-14/#cabal-3-14
But there's no way to easily get the anchor without looking into the HTML source:

Compare it to many other websites, e.g. GitHub, which has every section title hyperlinked to itself, so that I can easily get the URL with the anchor (sometimes, there's a little link icon beside the title for that; GitHub shows it on hover).
Can we have hyperlinked section titles, making it easier to get URLs pointing to a specific section?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting the linked blog post and its generated HTML to find how section headings are rendered. Add self-links to section titles so readers can easily copy URLs containing the existing anchors, then verify the Cabal 3.14 heading and other sections in the rendered post.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100