lenra-io/docs

[Task] Add links to titles

Ouverte

#86 ouverte le 2 mars 2023

 (0 commentaire) (0 réaction) (0 personne assignée)CSS (0 fork)auto 404
enhancementgood first issuehacktoberfest

Métriques du dépôt

Stars
 (5 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

What should be done

Add a link to all the h2+ titles.

Technical recommandation

The markdown generates an id on title but not pug. A id should be added when not present.

Ecological concerns

Avoid JavaScript event.

The best solution is to add the ID at compile time but it could be complicated...

If not possible, run JS to add the links when the page is loaded.

Guide contributeur