microsoft / microsoft/pxt

'link' buttons for headers with anchors on hover

Open
#6,009 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

docs2.0 in discussion
Dominant language
TypeScript
Stars
2.3k
Forks
641
Avg merge
12h 4m
Merged PRs (30d)
57

Description

The 'link to this section' buttons that show up when you hover over headers that have anchors: e.g. in https://github.blog/2019-02-14-introducing-draft-pull-requests/ hover over Tag your work in progress

2019-10-04 10 46 02

these can be really nice when trying to share a link / example, and a lot of the docs pages have anchors that are basically never used at the moment because there's no indication they are there unless you read the markup

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Use the linked GitHub blog page as the visual reference: hover over the “Tag your work in progress” heading and inspect how its anchor is exposed. Locate the PXT documentation or heading-rendering entry point that controls this behavior, then verify that anchored headings show a discoverable link button on hover and that the button links to the heading anchor.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
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.