sindresorhus / awesome

😎 Awesome lists about all kinds of interesting topics
Creative Commons Zero v1.0 Universal
311.35k stars 27.06k forks source link

Manifesto - Table of contents #1972

Open antleblanc opened 3 years ago

antleblanc commented 3 years ago

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!

Richienb commented 3 years ago

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

skyTech-max commented 3 years ago

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 .

morinted commented 3 years ago

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.

sindresorhus commented 3 years ago

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

d-wasserman commented 3 years ago

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.

ROKONUJJAMA commented 1 year ago

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

NasirAlbani commented 1 year ago

Hi! I am new here

jcbhmr commented 1 year ago

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

Jogai commented 1 year ago

@jcbhmr its not legible in dark mode

jcbhmr commented 1 year ago

@Jogai you're absolutely right! Good catch 👍

Alternative image that I think works:

↖️ Click for TOC

light mode: image

dark mode: image

Shishir1418 commented 2 weeks ago

🥰