haskell / haskell/blog.haskell.org

Provide a link to get an achor for a section

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
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:

![Image](https://github.com/user-attachments/assets/c182c7f0-9740-4e05-985e-4be2ba92a7c0)

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.