lenra-io/docs

[Task] Add links to titles

Open

#86 opened on Mar 2, 2023

 (0 comments) (0 reactions) (0 assignees)CSS (0 forks)auto 404
enhancementgood first issuehacktoberfest

Repository metrics

Stars
 (5 stars)
PR merge metrics
 (PR metrics pending)

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.

Contributor guide