Skip to content

Add [:Header:] shorthand for HTTP header links #5271

@marcoscaceres

Description

@marcoscaceres

Bikeshed has [:Content-Type:] as a dedicated shorthand for HTTP header links. ReSpec currently requires the verbose [= Header!!http-header =] to achieve the same.

Proposed syntax:

  • [: Header :] — basic link
  • [: Header|display text :] — pipe aliasing
  • [: Header!!http-header :] — type validation (only http-header valid)

Output: <code><a data-link-type="http-header">...</a></code>

Part of the Bikeshed inline shorthand parity effort.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions