mirror of
https://github.com/Naereen/badges.git
synced 2025-12-16 02:10:05 +01:00
Use the HTML5 <details>...</details> tag to shorten the ToC by default
- https://www.w3schools.com/TagS/att_details_open.asp for the documentation
This commit is contained in:
@@ -3,6 +3,9 @@ A list of badges, with their Markdown code, that can be included in a `README.md
|
||||
|
||||
> The same file for [reStructuredText](http://docutils.sourceforge.net/rst.html) code is available here: [README.rst](README.rst).
|
||||
|
||||
<details>
|
||||
<summary>Table of content</summary>
|
||||
|
||||
## Table of content
|
||||
* [List of Badges, in Markdown](#list-of-badges-in-markdown)
|
||||
* [Generic](#generic)
|
||||
@@ -62,6 +65,8 @@ A list of badges, with their Markdown code, that can be included in a `README.md
|
||||
* [Possible TODO? :light_rail:](#possible-todo-light_rail)
|
||||
* [License ? :scroll:](#license--scroll-)
|
||||
|
||||
</details>
|
||||
|
||||
----
|
||||
|
||||
## Generic
|
||||
|
||||
Reference in New Issue
Block a user