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:
Lilian Besson
2017-10-14 11:12:14 +02:00
parent 0a48751f14
commit 2cb6f03d24

View File

@@ -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