speced / speced/respec

Short syntax to link to fragment inside other spec

Open
#2,708 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature request High priority
Dominant language
JavaScript
Stars
806
Forks
434
Avg merge
1d 21h
Merged PRs (30d)
32

Description

Important info

Description of problem

What happened?:

The syntax <a data-cite="?HTML/webstorage.html#user-tracking">[HTML#user-tracking]</a> links to a fragment inside the HTML spec, but [[[?HTML/webstorage.html#user-tracking]]] does not.

But what I was expecting?:

[[[spec#frag]]] or [[spec#frag]] interprets its content like a data-cite attribute.

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

Start by tracing ReSpec's bracketed citation handling and compare it with the existing data-cite behavior described in the issue. The work is done when [[[spec#frag]]] or [[spec#frag]] resolves to the referenced fragment in another specification, matching the expected short syntax.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.