Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 460 Bytes

link-to-headers-in-github-readmes.md

File metadata and controls

17 lines (11 loc) · 460 Bytes

Link to Headers in GitHub READMEs

Anytime you add a header to a markdown file, GitHub attaches an href with its downcased name. 'JavaScript' receives a link to #javascript, for instance.

Leverage this by adding a table of contents to your README with links to the headers further down the document:

### Table of Contents

- [Cucumber](#cucumber)

This will link to a header containing 'Cucumber'.

h/t Josh Branchaud