DEV Community

loading...

Discussion on: You Should be Using esm

Collapse
bennypowers profile image
Benny Powers 🇮🇱🇨🇦 Author • Edited

Thanks for the notes. I used GFM-style anchor links, maybe they don't work the same on dev.to.

issue for tracking

Markdown Headers Should Have IDs for Linking #682

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.