awesome icon indicating copy to clipboard operation
awesome copied to clipboard

Manifesto - Table of contents

Open antleblanc opened this issue 4 years ago • 19 comments

Hi!

A recent tweet mentioned following information:

GitHub now automatically creates a table of contents for your README.md files from your headers.

Original tweets:

https://twitter.com/github/status/1376636651963842562?s=21

https://twitter.com/natfriedman/status/1375430850620256257

From the Manifesto page, it says:

Create a table of contents (…)

Do you think that the Manifesto could be updated and stop mentioning the Table of contents anymore?

Thank you!

antleblanc avatar Mar 26 '21 20:03 antleblanc

With that said, should we remove the contents section in the awesome readme in favour of the TOC?

Richienb avatar Apr 09 '21 07:04 Richienb

Yeah I agree with you....

On Apr 9, 2021 10:59, "Richie Bendall" @.***> wrote:

With that said, should we remove the contents section in the awesome readme in favour of the TOC?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sindresorhus/awesome/issues/1972#issuecomment-816493555, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASPGSRIKNQL3IXTP3N55UDLTH2XWXANCNFSM4Z4CF7JA .

skyTech-max avatar Apr 09 '21 08:04 skyTech-max

I personally find the table of contents marker harder to find than the Contents section. Anyone who isn't familiar with GitHub won't spot that little hamburger menu.

panathea avatar Apr 09 '21 20:04 panathea

For now, at least, I prefer to keep the manual TOCs. We can reconsider this at a later point.

sindresorhus avatar Apr 19 '21 09:04 sindresorhus

I see the value in manual TOCs, but we are already seeing errors in some awesome-lists that result from them (minor lint error in PR #2011 for example). Maintenance might be a long term issue with manual ones.

d-wasserman avatar May 15 '21 15:05 d-wasserman

https://www.fiverr.com/share/3vkpLa

ROKONUJJAMA avatar Sep 22 '22 06:09 ROKONUJJAMA

Hi! I am new here

NasirAlbani avatar Dec 26 '22 17:12 NasirAlbani

If anyone stumbles across this issue like I did, here's a trick to nudge your readers into using the GitHub builting TOC button:

↖️ Click <img height="16" valign="middle" src="https://i.imgur.com/yFtQXvN.png" /> for TOC

Live in Markdown:
↖️ Click for TOC

Screenshot in README.md file: image

The list icon image is from the Octicons github design system thing: https://primer.style/octicons/list-unordered-24

jcbhmr avatar Feb 08 '23 02:02 jcbhmr

@jcbhmr its not legible in dark mode

Jogai avatar May 03 '23 06:05 Jogai

@Jogai you're absolutely right! Good catch 👍

Alternative image that I think works:

↖️ Click for TOC

light mode: image

dark mode: image

jcbhmr avatar May 03 '23 06:05 jcbhmr