Skip to content

Markdown Headers Should Have IDs for LinkingΒ #682

Closed

Description

@bennypowers

Feature Request or Task

When users create headings in markdown, the headings should have ids added to enable linking throughout the document

[tl;dr](#tl-dr)
[The History](#the-history)
[Transpiling](#transpiling)
[The Problem](#the-problem)
[`esm`: A Better Solution](#esm-a-better-solution)
[Summary](#summary)

## tl;dr:
...

## The History
...

## Transpiling
...

## The Problem
...

### The Cost of Transpiling
...

### Principles and Cognitive Load
...

## `esm`: A Simple Solution
...

## Summary
...

User Story / Description

Users with medium-to-long-form content might want to add a table of contents, or a link to a summary or tl;dr.

Definition of Done

When the links in the above snippet work as expected: clicking on one scrolls to the relevant header.

Activity

  1. jessleenyc commented on Sep 18, 2018

    @jessleenyc
    Contributor

    @Zhao-Andy I believe you were in the process of working on this?

  2. glebec commented on Sep 20, 2018

    @glebec
    Contributor

    Duplicate of #183

  3. bennypowers commented on Sep 20, 2018

    @bennypowers
    ContributorAuthor

    Closing as dupe. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions